Skip to content

Commit

Permalink
Create a GitHub release after RubyGems release
Browse files Browse the repository at this point in the history
  • Loading branch information
kpumuk committed Sep 20, 2024
1 parent 9c3948d commit df371e0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

jobs:
push:
release:
runs-on: ubuntu-latest

permissions:
Expand Down Expand Up @@ -36,3 +36,9 @@ jobs:
- uses: rubygems/release-gem@v1
env:
GEM_PRIVATE_KEY_PASSPHRASE: "${{ secrets.GEM_PRIVATE_KEY_PASSPHRASE }}"
- name: Create GitHub release
run: |
tag_name="$(git describe --tags --abbrev=0)"
gh release create "${tag_name}" --verify-tag --generate-notes --latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit df371e0

Please sign in to comment.