Skip to content

Commit 30fa0fe

Browse files
committed
ci: disable autoincrementation of version
1 parent 27e1165 commit 30fa0fe

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/publish.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,20 @@ jobs:
3131
# Commit the new version to the repository default branch and update the tag
3232
# This removes the signing of the commit, tag and release since it's
3333
# created by the GitHub Actions bot
34-
- name: Update package.json version
35-
if: startsWith(github.ref, 'refs/tags/v')
36-
run: |
37-
git config user.name github-actions
38-
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
39-
git switch -c tmp
40-
git add package.json
41-
git commit -m "ci: update version to ${GITHUB_REF_NAME:1}"
42-
git fetch
43-
git switch main
44-
git merge tmp
45-
git tag -f $GITHUB_REF_NAME
46-
git push origin -f $GITHUB_REF_NAME
47-
git push origin -f main
34+
# - name: Update package.json version
35+
# if: startsWith(github.ref, 'refs/tags/v')
36+
# run: |
37+
# git config user.name github-actions
38+
# git config user.email 41898282+github-actions[bot]@users.noreply.github.com
39+
# git switch -c tmp
40+
# git add package.json
41+
# git commit -m "ci: update version to ${GITHUB_REF_NAME:1}"
42+
# git fetch
43+
# git switch main
44+
# git merge tmp
45+
# git tag -f $GITHUB_REF_NAME
46+
# git push origin -f $GITHUB_REF_NAME
47+
# git push origin -f main
4848

4949
# Upload the artifact as a release asset
5050
- uses: softprops/action-gh-release@master

0 commit comments

Comments
 (0)