Skip to content

Commit 693a7fd

Browse files
authored
Merge pull request #48 from Revolyssup/upload
Add release event in workflow
2 parents 9fd99f6 + 5f8d0db commit 693a7fd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release-binaries.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Build/Release binaries
2+
23
on:
4+
release:
5+
types: [published]
36
pull_request:
47
branches:
58
- "*"
@@ -31,8 +34,8 @@ jobs:
3134
assets+=("-a" "$asset")
3235
done
3336
tag_name="${GITHUB_REF##*/}"
34-
hub release edit "${assets[@]}" -m "" "stable-$tag_name"
37+
hub release edit "${assets[@]}" -m "" "$tag_name"
3538
env:
3639
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3740

38-
41+

0 commit comments

Comments
 (0)