Skip to content

Commit 17eba6f

Browse files
committed
create tag instead of release
1 parent 175ace1 commit 17eba6f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,10 @@ jobs:
254254
env:
255255
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
256256
- id: tag
257-
name: Create release
257+
name: Create tag
258258
run: |
259-
gh release create v${{ inputs.version }} --target $(git rev-parse HEAD)
260-
env:
261-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
259+
git tag -a v${{ inputs.version }} -m "Release v${{ inputs.version }}"
260+
git push origin v${{ inputs.version }}
262261
263262
docs:
264263
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)