We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78c0ac3 commit c58adc2Copy full SHA for c58adc2
1 file changed
.github/workflows/publish.yml
@@ -2,6 +2,7 @@ name: Publish
2
3
on:
4
workflow_dispatch:
5
+
6
permissions: write-all
7
8
jobs:
@@ -21,9 +22,9 @@ jobs:
21
22
sed -i "s|\(uses: forproxyband/vector-code-map@\)v[0-9.]*|\1${{ NPM_PACKAGE_VERSION }}|g" README.md
23
- run: git add README.md
24
- run: |
- git commit -m "Set version ${{ NPM_PACKAGE_VERSION }} by ${GITHUB_ACTOR}"
25
+ git commit -m "Set version ${ NPM_PACKAGE_VERSION } by ${GITHUB_ACTOR}"
26
git push -u origin main
- git tag -a ${{ NPM_PACKAGE_VERSION }} -m "Add tag ${NPM_PACKAGE_VERSION}"
27
- git push origin ${{ NPM_PACKAGE_VERSION }}
+ git tag -a ${ NPM_PACKAGE_VERSION } -m "Add tag ${NPM_PACKAGE_VERSION}"
28
+ git push origin ${ NPM_PACKAGE_VERSION }
29
env:
30
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
0 commit comments