Skip to content

Commit e787d95

Browse files
authored
Update publish.yml
1 parent dbcd6e2 commit e787d95

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ jobs:
2020
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
2121
- run: echo "NPM_PACKAGE_VERSION=$(npm version patch --no-git-tag-version)" | tee -a $GITHUB_ENV
2222
- run: echo "NPM_PACKAGE_VERSION_MAJOR=$(echo "${{ env.NPM_PACKAGE_VERSION }}" | cut -d. -f1)" | tee -a $GITHUB_ENV
23-
- run: git add package.json package-lock.json
2423
- run: |
2524
sed -i "s|\(uses: forproxyband/vector-code-map@\)v[0-9.]*|\1${{ env.NPM_PACKAGE_VERSION }}|g" README.md
26-
- run: git add README.md
25+
- run: |
26+
sed -i "s|\(uses: forproxyband/vector-code-map@\)v[0-9.]*|\1${{ env.NPM_PACKAGE_VERSION }}|g" .github/workflows/update-vector-map.yml
27+
- run: git add package.json package-lock.json README.md .github/workflows/update-vector-map.yml
2728
- run: |
2829
git commit -m "Set version ${{ env.NPM_PACKAGE_VERSION }} by ${GITHUB_ACTOR}"
2930
git push -u origin main

0 commit comments

Comments
 (0)