Skip to content

Commit

Permalink
ci: bump version on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
gpbl committed Oct 15, 2024
1 parent 65c9fa3 commit b8ea34d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ jobs:
name: rdp-dist
path: dist
- run: echo "//<npm-registry>:8080/:_authToken=$NODE_AUTH_TOKEN" > ~/.npmrc
- name: Bump version
run: |
TAG=$(git describe --tags)
npm version $TAG --no-git-tag-version
- run: npm publish --provenance --tag latest
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}

0 comments on commit b8ea34d

Please sign in to comment.