Skip to content

Commit 7a99080

Browse files
committed
ci: create draft release
1 parent b76e232 commit 7a99080

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release.yml

+10
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,13 @@ jobs:
4646
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
4747
# GitHub sets this automatically
4848
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
50+
- name: Create a draft GitHub release
51+
env:
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+
run: |
54+
gh release create \
55+
--draft \
56+
--title "${GITHUB_REF_NAME}" \
57+
--notes-from-tag \
58+
"${GITHUB_REF_NAME}"

0 commit comments

Comments
 (0)