File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments