File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 11{
2- "branches" : [" release-1 " ],
2+ "branches" : [" release" ],
33 "plugins" : [
44 [
55 " @semantic-release/commit-analyzer" ,
You can’t perform that action at this time.
0 commit comments