Skip to content

Commit 5890be8

Browse files
committed
Create a release page on tag push, attach the gem to the release
1 parent b1e2ea0 commit 5890be8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,13 @@ jobs:
2929
chmod 0600 ~/.gem/credentials
3030
- name: Publish gem to GitHub packages
3131
run: gem push --key github --host https://rubygems.pkg.github.com/openvoxproject *.gem
32+
- name: Create Release Page
33+
shell: bash
34+
env:
35+
GH_TOKEN: ${{ github.token }}
36+
run: gh release create ${{ github.ref_name }} --generate-notes
37+
- name: Attach gem to GitHub Release
38+
shell: bash
39+
env:
40+
GH_TOKEN: ${{ github.token }}
41+
run: gh release upload ${{ github.ref_name }} pkg/*.gem

0 commit comments

Comments
 (0)