Skip to content

Commit 452826a

Browse files
committed
ci: use a separate variable for the release tag and version used
1 parent f5567d8 commit 452826a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Include documentation
2727
run: |
2828
TAG="${{ github.ref_name }}"
29-
TAG="${TAG#v}"
30-
gh release upload "$TAG" man/git-coverage.1#git-coverage_"$TAG"_man.1
29+
VERSION="${TAG#v}"
30+
gh release upload "$TAG" man/git-coverage.1#git-coverage_"$VERSION"_man.1
3131
env:
3232
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)