Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

Commit

Permalink
Allow Same Version and List Latest Tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mainawycliffe committed Apr 13, 2020
1 parent 30dfc75 commit 55a7f6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ jobs:
git switch -c master
git config user.email "[email protected]"
git config user.name "$GITHUB_ACTOR"
- name: Latest Version
run: echo git describe --tags
- name: Publish
run: |
npm version from-git -m "Update npm version for this package [ci]"
npm version from-git -m "Update npm version for this package [ci] --allow-same-version"
git push --set-upstream origin master
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN
npm publish
Expand Down

0 comments on commit 55a7f6a

Please sign in to comment.