Skip to content

Commit

Permalink
Use npm version prepatch instead of from-git
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarhermoso committed Jul 21, 2023
1 parent 4d35218 commit 5165876
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
packages: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v3
with:
Expand All @@ -20,7 +22,7 @@ jobs:
scope: '@kedyou'
- name: Build and publish
run: |
npm version --no-git-tag-version --preid=kedyou from-git
npm version from-git --no-git-tag-version --pre-id="kedyou" prepatch
npm ci
npm publish
env:
Expand Down

0 comments on commit 5165876

Please sign in to comment.