Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: πŸ“¦ Publish new Release

on:
release:
types: [published]
types: [created]

permissions:
contents: write
Expand Down Expand Up @@ -73,3 +73,7 @@ jobs:
asset_path: ./zen.tar.gz.sha256sum
asset_name: zen.tar.gz.sha256sum
asset_content_type: text/plain
- name: Publish release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release edit ${{ github.event.release.tag_name }} --draft=false --repo ${{ github.repository }}
6 changes: 6 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Releasing

1. Go to **GitHub β†’ Releases β†’ Draft a new release**
2. Choose a tag (e.g. `v1.2.3`) and set it as a **draft**
3. Click **Save draft** β€” this triggers the release workflow
4. The workflow builds the artifacts, uploads them to the draft, then publishes the release automatically
Loading