Skip to content

Commit 6a6b91d

Browse files
committed
CI: update the release workflow
1 parent 5c79abc commit 6a6b91d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
git config user.name '${{ github.actor }}'
3333
git config user.email '${{ github.actor }}@users.noreply.github.com'
3434
git add README.md package.json
35-
git commit --message "Update version to ${GITHUB_REF_NAME}" || :
36-
git push origin '${{ github.event.repository.default_branch }}'
35+
git commit --message "Bump version to ${GITHUB_REF_NAME}" || :
36+
git push origin 'HEAD:${{ github.event.repository.default_branch }}'
3737
git tag --force "${GITHUB_REF_NAME}" HEAD
3838
git push origin "${GITHUB_REF_NAME}" --force
3939
fi

0 commit comments

Comments
 (0)