Skip to content

Commit

Permalink
ci: add --tags
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris authored Oct 23, 2022
1 parent 52747be commit a503445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
CURRENT_TAG=$(git describe --abbrev=0)
CURRENT_TAG=$(git describe --tags --abbrev=0)
NEW_VERSION=$(npm_config_yes=true npx semver "${CURRENT_TAG}" --increment ${{ github.event.inputs.semver_type }})
NEW_TAG="v${NEW_VERSION}"
RELEASE_TITLE="Release ${NEW_TAG}"
Expand Down

0 comments on commit a503445

Please sign in to comment.