Skip to content

Commit

Permalink
dynamic tagging to gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedkhan1039 committed Feb 23, 2024
1 parent db408f4 commit 07a7835
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
node-version: 16
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npx nx run-many -t publish --ver 1.0.0 --tag latest
- run: |
TAG=${TAG_NAME/refs\/tags\/v/}
npx nx run-many -t publish --ver $TAG --tag latest
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
TAG_NAME: ${{ github.ref }}

0 comments on commit 07a7835

Please sign in to comment.