Skip to content

Commit

Permalink
fix(CI.yml): Fix tag version problem
Browse files Browse the repository at this point in the history
  • Loading branch information
miniben-90 committed Jan 14, 2024
1 parent 521626b commit 781d4d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
TAG: ${{ github.ref_name }}
needs:
- build
- test
Expand All @@ -295,7 +296,6 @@ jobs:
# Parse version from GITHUB_REF
- name: Set version to package.json
run: |
TAG=${GITHUB_REF##*/}
VERSION=${TAG#v}
yarn version ${VERSION}
Expand Down

0 comments on commit 781d4d8

Please sign in to comment.