Skip to content

Commit

Permalink
changes commited
Browse files Browse the repository at this point in the history
  • Loading branch information
pvscreations committed Apr 18, 2024
1 parent c35d428 commit f68b8f2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ jobs:
run: npm pack --dry-run
working-directory: ./
- name : "versioning"
run: npm version patch --no-git-tag-version
run: |
repository="${{github.repository}}"
IFS='/' read -ra parts <<< "${repository}"
latest_version=$(npm view "${parts[1]}" version)
npm version "$latest_version" --no-git-tag-version
npm version patch --no-git-tag-version
working-directory: ./
- name : "build"
run: npm run build
Expand Down

0 comments on commit f68b8f2

Please sign in to comment.