Skip to content

Commit 537c3bb

Browse files
committed
remove hardcoded tag name & trigger on tag push
1 parent 0c157f2 commit 537c3bb

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/release-cli.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
name: Release CLI
22

3-
# on:
4-
# push:
5-
# tags:
6-
# - "v*"
7-
8-
# used only for testing
93
on:
104
push:
11-
branches: ['feat/better-upload-url']
5+
tags:
6+
- "v*"
127

138
jobs:
149
create-release:
@@ -23,8 +18,8 @@ jobs:
2318
env:
2419
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2520
with:
26-
tag_name: v0.0.1
27-
release_name: v0.0.1
21+
tag_name: ${{ github.ref }}
22+
release_name: ${{ github.ref }}
2823
body: |
2924
TODO: Write release notes
3025
draft: false

0 commit comments

Comments
 (0)