File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,16 +70,21 @@ jobs:
7070 sha256sum * > checksums.txt
7171
7272 - name : Create Release
73- uses : softprops/action-gh-release@v1
74- with :
75- files : |
76- dist/rememory-linux-amd64
77- dist/rememory-linux-arm64
78- dist/rememory-darwin-amd64
79- dist/rememory-darwin-arm64
80- dist/rememory-windows-amd64.exe
81- dist/demo-bundles.zip
82- dist/checksums.txt
83- dist/maker.html
84- dist/recover.html
85- generate_release_notes : true
73+ env :
74+ GH_TOKEN : ${{ github.token }}
75+ run : |
76+ # Create draft release with assets (drafts can be modified)
77+ gh release create ${{ github.ref_name }} \
78+ dist/rememory-linux-amd64 \
79+ dist/rememory-linux-arm64 \
80+ dist/rememory-darwin-amd64 \
81+ dist/rememory-darwin-arm64 \
82+ dist/rememory-windows-amd64.exe \
83+ dist/demo-bundles.zip \
84+ dist/checksums.txt \
85+ dist/maker.html \
86+ dist/recover.html \
87+ --generate-notes \
88+ --draft
89+ # Publish the release (now it becomes immutable)
90+ gh release edit ${{ github.ref_name }} --draft=false
You can’t perform that action at this time.
0 commit comments