Skip to content

Commit

Permalink
ci: add --tags
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Jan 5, 2023
1 parent 3659505 commit a4ca37e
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 @@ -34,7 +34,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
CURRENT_TAG=$(git describe --abbrev=0)
CURRENT_TAG=$(git describe --abbrev=0 --tags)
NEW_VERSION=$(npm_config_yes=true npx semver "${CURRENT_TAG}" --increment ${{ github.event.inputs.semver_type }})
NEW_TAG="v${NEW_VERSION}"
RELEASE_TITLE="peaceiris/workflows ${NEW_TAG}"
Expand Down

0 comments on commit a4ca37e

Please sign in to comment.