File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: Publish
22
33on :
44 workflow_dispatch :
5+
56permissions : write-all
67
78jobs :
2122 sed -i "s|\(uses: forproxyband/vector-code-map@\)v[0-9.]*|\1${{ NPM_PACKAGE_VERSION }}|g" README.md
2223 - run : git add README.md
2324 - run : |
24- git commit -m "Set version ${{ NPM_PACKAGE_VERSION } } by ${GITHUB_ACTOR}"
25+ git commit -m "Set version ${ NPM_PACKAGE_VERSION } by ${GITHUB_ACTOR}"
2526 git push -u origin main
26- git tag -a ${{ NPM_PACKAGE_VERSION } } -m "Add tag ${NPM_PACKAGE_VERSION}"
27- git push origin ${{ NPM_PACKAGE_VERSION } }
27+ git tag -a ${ NPM_PACKAGE_VERSION } -m "Add tag ${NPM_PACKAGE_VERSION}"
28+ git push origin ${ NPM_PACKAGE_VERSION }
2829 env:
2930 GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments