Skip to content

Commit dd610ff

Browse files
committed
feat(ci): add GitHub Release creation to release workflow
Creates a GitHub Release with auto-generated notes after publishing to crates.io when a version tag is pushed.
1 parent 707cd61 commit dd610ff

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,9 @@ jobs:
2525

2626
- name: cargo publish
2727
run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
28+
29+
- name: Create GitHub Release
30+
env:
31+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
TAG: ${{ github.ref_name }}
33+
run: gh release create "$TAG" --generate-notes

0 commit comments

Comments
 (0)