File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments