Skip to content

Commit

Permalink
feat: auto get tag version when release
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenkhoi2806 committed Jan 3, 2025
1 parent 092dfed commit e0b40c6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish-nt-css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ jobs:
run: pnpm install
working-directory: apps/nt-stylesheet

- name: Update package version
run: |
TAG=${{ github.event.release.tag_name }}
echo "Using release tag: $TAG"
pnpm version $TAG --no-git-tag-version
working-directory: apps/nt-stylesheet
- name: Test CSS framework
run: pnpm run test
working-directory: apps/nt-stylesheet
Expand Down

0 comments on commit e0b40c6

Please sign in to comment.