Skip to content

Commit cb00a9a

Browse files
committed
ci: publish GoReleaser draft releases after upload
1 parent 6bfc73d commit cb00a9a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,8 @@ jobs:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131
GOPRIVATE: github.com/GoCodeAlone/*
3232
GONOSUMCHECK: github.com/GoCodeAlone/*
33+
- name: Publish GitHub release
34+
if: ${{ success() }}
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
run: gh release edit "${{ github.ref_name }}" --draft=false --repo "${{ github.repository }}"

0 commit comments

Comments
 (0)