File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ permissions:
15
15
16
16
jobs :
17
17
goreleaser :
18
- environment : production
19
18
runs-on : ubuntu-latest
20
19
steps :
21
20
- uses : actions/checkout@v4
38
37
# GitHub sets the GITHUB_TOKEN secret automatically.
39
38
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
39
GPG_FINGERPRINT : ${{ steps.import_gpg.outputs.fingerprint }}
40
+
41
+ publish :
42
+ needs :
43
+ - goreleaser
44
+ environment : production
45
+ runs-on : ubuntu-latest
46
+ steps :
41
47
- run : gh release edit ${{ github.ref_name }} --draft=false
42
48
env :
43
49
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ release:
56
56
name_template : ' {{ .ProjectName }}_{{ .Version }}_manifest.json'
57
57
# If you want to manually examine the release before its live, uncomment this line:
58
58
draft : true
59
+ replace_existing_draft : true
59
60
changelog :
60
61
use : github
61
62
groups :
You can’t perform that action at this time.
0 commit comments