File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: 📦 Publish new Release
22
33on :
44 release :
5- types : [published ]
5+ types : [created ]
66
77permissions :
88 contents : write
@@ -11,7 +11,7 @@ permissions:
1111
1212jobs :
1313 create-release-asset :
14- runs-on : ubuntu-latest
14+ runs-on : open-source-releaser
1515
1616 steps :
1717 - name : Check out code
7373 asset_path : ./zen.tar.gz.sha256sum
7474 asset_name : zen.tar.gz.sha256sum
7575 asset_content_type : text/plain
76+ - name : Publish release
77+ env :
78+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
79+ run : gh release edit ${{ github.event.release.tag_name }} --draft=false --repo ${{ github.repository }}
Original file line number Diff line number Diff line change 1+ # Releasing
2+
3+ 1 . Go to ** GitHub → Releases → Draft a new release**
4+ 2 . Choose a tag (e.g. ` v1.2.3 ` ) and set it as a ** draft**
5+ 3 . Click ** Save draft** — this triggers the release workflow
6+ 4 . The workflow builds the artifacts, uploads them to the draft, then publishes the release automatically
You can’t perform that action at this time.
0 commit comments