Skip to content

Commit a503445

Browse files
authored
ci: add --tags
1 parent 52747be commit a503445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3333
run: |
34-
CURRENT_TAG=$(git describe --abbrev=0)
34+
CURRENT_TAG=$(git describe --tags --abbrev=0)
3535
NEW_VERSION=$(npm_config_yes=true npx semver "${CURRENT_TAG}" --increment ${{ github.event.inputs.semver_type }})
3636
NEW_TAG="v${NEW_VERSION}"
3737
RELEASE_TITLE="Release ${NEW_TAG}"

0 commit comments

Comments
 (0)