Skip to content

Commit

Permalink
workflow: using tag as version
Browse files Browse the repository at this point in the history
  • Loading branch information
Xinrea committed May 29, 2024
1 parent 9ff277f commit c69b3b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
cache: 'npm'
- run: python3 -m pip install setuptools
- run: npm install
- name: generate version
run: echo "${{ github.ref }}" | sed 's/refs\/tags\/v//g' | xargs npm version --no-git-tag-version
- run: npm run build
- uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit c69b3b3

Please sign in to comment.