Skip to content

Commit f1804a7

Browse files
chore: create release branch and do a release (#89)
1 parent 45446ea commit f1804a7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
- ubuntu-latest
1919

2020
steps:
21-
- name: Check branch name # make sure the release can only be run on branches like 'release-*'
21+
- name: Check branch name # make sure the release can only be run on branch named 'release'
2222
run: |
2323
ref="${{ github.ref }}"
24-
if [[ ! "$ref" =~ ^refs/heads/release-* ]]; then
25-
echo "Error: Workflow can only run on branches starting with 'release-*'"
24+
if [[ ! "$ref" =~ ^refs/heads/release ]]; then
25+
echo "Error: Workflow can only run on branches starting with 'release'"
2626
exit 1
2727
fi
2828
- uses: actions/checkout@v4

.releaserc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"branches": ["release-1"],
2+
"branches": ["release"],
33
"plugins": [
44
[
55
"@semantic-release/commit-analyzer",

0 commit comments

Comments
 (0)