File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,14 @@ jobs:
3434 run : npm install -g semver
3535
3636 - name : Release Minor Version
37- if : github.ref == 'refs/heads/main' && startsWith(github.event.head_commit.message, '[release] :')
37+ if : github.ref == 'refs/heads/main' && startsWith(github.event.head_commit.message, 'fix :')
3838 env :
3939 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
4040 run : |
4141 LATEST_VERSION=$(gh release list --exclude-drafts -L 1 | awk {'print $3'})
4242 semver $LATEST_VERSION || (echo "latest release is not in valid semantic version format: ${LATEST_VERSION}" && exit 1)
43- MINOR_BUMP_VERSION =$(semver $LATEST_VERSION -i minor )
44- gh workflow run manual-release.yml -f version=$MINOR_BUMP_VERSION -f branch=main -f prerelease=false
43+ BUMP_VERSION =$(semver $LATEST_VERSION -i patch )
44+ gh workflow run manual-release.yml -f version=$BUMP_VERSION -f branch=main -f prerelease=false
4545 # gh run watch $RUN_ID --exit-status
4646
4747 - name : Release Candidate Version
You can’t perform that action at this time.
0 commit comments