Skip to content

Commit

Permalink
Use npm view to derive version instead of git tags
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarhermoso committed Jul 21, 2023
1 parent 783a115 commit 3fbd58b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
scope: '@kedyou'
- name: Build and publish
run: |
npm version --no-git-tag-version from-git
npm version --no-git-tag-version "$(npm view @kedyou/mathlive version)"
npm version --no-git-tag-version --preid=kedyou prerelease
npm ci
npm publish
Expand Down

0 comments on commit 3fbd58b

Please sign in to comment.