Skip to content

Commit 78c0ac3

Browse files
authored
Update publish.yml
1 parent 0d3fb05 commit 78c0ac3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
sed -i "s|\(uses: forproxyband/vector-code-map@\)v[0-9.]*|\1${{ NPM_PACKAGE_VERSION }}|g" README.md
2222
- run: git add README.md
2323
- run: |
24-
git commit -m "Set version ${NPM_PACKAGE_VERSION} by ${GITHUB_ACTOR}"
24+
git commit -m "Set version ${{ NPM_PACKAGE_VERSION }} by ${GITHUB_ACTOR}"
2525
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}
26+
git tag -a ${{ NPM_PACKAGE_VERSION }} -m "Add tag ${NPM_PACKAGE_VERSION}"
27+
git push origin ${{ NPM_PACKAGE_VERSION }}
2828
env:
2929
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)