Skip to content

Commit

Permalink
chore: set next dist-tag to current package version
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Jun 24, 2024
1 parent 282a624 commit 66e6179
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,8 @@ jobs:
run: |
PACKAGE_DIST_TAG=$(node -e "console.log(/^\d+\.\d+\.\d+(\-(\w+)\.\d+)$/.exec(require('./package.json').version)?.[2] || 'latest')")
pnpm publish --access public --tag $PACKAGE_DIST_TAG
- name: Set next dist-tag
run: |
PACKAGE_VERSION=$(node -e "console.log(require('./package.json').version)")
pnpm dist-tag add @faker-js/faker@$PACKAGE_VERSION next

0 comments on commit 66e6179

Please sign in to comment.