File tree 1 file changed +14
-14
lines changed
1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -31,20 +31,20 @@ jobs:
31
31
# Commit the new version to the repository default branch and update the tag
32
32
# This removes the signing of the commit, tag and release since it's
33
33
# 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
48
48
49
49
# Upload the artifact as a release asset
50
50
- uses : softprops/action-gh-release@master
You can’t perform that action at this time.
0 commit comments