Skip to content

Commit

Permalink
aha! npm version was tagging and committing
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneCypher committed Jun 19, 2022
1 parent a01a48e commit c90490f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lib_update.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
echo "UPGRADETAG=v${{ github.event.client_payload.lib_version }}" >> $GITHUB_ENV
echo " * JSSM version newly installed is '${{ github.event.client_payload.lib_version }}' "
echo " - Updating local version"
npm version ${{ github.event.client_payload.lib_version }} -f
npm version ${{ github.event.client_payload.lib_version }} -f --no-git-tag-version --no-commit-hooks
echo " - Running new build"
npm run build
echo " - Adding package to git"
Expand All @@ -133,7 +133,7 @@ jobs:
git commit -m "Automated upgrade of jssm library to v${{ github.event.client_payload.lib_version }}"
echo " - Pushing package to git"
git push origin
# git ls-remote --exit-code --tags origin v${{ github.event.client_payload.lib_version }} || git tag -a v${{ github.event.client_payload.lib_version }} -m "Update JSSM to ${{ github.event.client_payload.lib_version }}"
git ls-remote --exit-code --tags origin v${{ github.event.client_payload.lib_version }} || git tag -a v${{ github.event.client_payload.lib_version }} -m "Update JSSM to ${{ github.event.client_payload.lib_version }}"
# git push origin --tags

- name: Create the release
Expand Down

0 comments on commit c90490f

Please sign in to comment.