Skip to content

Commit 8392aa3

Browse files
committed
ci: simplify bump version and tag with npm
1 parent d0f73e6 commit 8392aa3

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/release.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,10 @@ jobs:
4949
- name: Bump version
5050
id: versioning
5151
run: |
52-
npm version ${{ github.event.inputs.strategy }}
52+
npm version ${{ github.event.inputs.strategy }} -m "chore(release): v%s"
5353
VERSION=$(node -p "require('./package.json').version")
5454
echo "current-version=$VERSION" >> $GITHUB_OUTPUT
5555
56-
- name: Commit and tag release
57-
run: |
58-
git add .
59-
git commit -m "chore(release): v${{ steps.versioning.outputs.current-version }}"
60-
git tag v${{ steps.versioning.outputs.current-version }}
61-
git push --follow-tags
62-
6356
- name: Set up git-cliff
6457
uses: kenji-miyake/setup-git-cliff@v2
6558

0 commit comments

Comments
 (0)