Skip to content

Commit 8e52447

Browse files
authored
ci(github): publish github releases from workflow (#3)
1 parent 4352cab commit 8e52447

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,11 @@ jobs:
6767
- name: Push release commit and tag
6868
if: steps.release_changes.outputs.has_changes == 'true'
6969
run: git push origin HEAD:main --follow-tags
70+
71+
- name: Create GitHub release
72+
if: steps.release_changes.outputs.has_changes == 'true'
73+
env:
74+
GH_TOKEN: ${{ github.token }}
75+
run: |
76+
VERSION="$(cat VERSION)"
77+
gh release create "v${VERSION}" --generate-notes

0 commit comments

Comments
 (0)