Skip to content

Commit 2acd482

Browse files
DTTerastarclaude
andauthored
ci: move release trigger to 'release: published' (#13)
* ci: move release trigger to 'release: published' Goreleaser on tag-push was incoherent: the 'release.draft: true' flag only affected the GitHub release object, while the Homebrew tap push fired immediately — so drafts shipped broken casks pointing at assets only admins could download. New flow: - draft created by 'gh release create --draft' (or the UI) - user reviews and publishes when ready - 'release: published' event fires this workflow - goreleaser uploads assets and pushes cask atomically Also add 'skip_upload: auto' so casks are skipped for prerelease tags. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * ci: drop browser-automation debris accidentally committed The prior commit swept in .playwright-cli/ screenshots and root-level PNGs/blog draft via 'git add -A'. Net diff of the two commits is exactly the intended release-trigger change. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> --------- Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
1 parent f4dc3ac commit 2acd482

4 files changed

Lines changed: 3 additions & 54 deletions

File tree

.github/release-drafter.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/release-drafter.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Release
22

33
on:
4-
push:
5-
tags:
6-
- 'v*'
4+
release:
5+
types: [published]
76

87
permissions:
98
contents: write

.goreleaser.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ checksum:
2727

2828
homebrew_casks:
2929
- name: liftoff-export
30+
skip_upload: auto
3031
repository:
3132
owner: quantcli
3233
name: homebrew-tap
@@ -45,6 +46,4 @@ homebrew_casks:
4546
end
4647
4748
release:
48-
draft: true
49-
replace_existing_draft: true
5049
replace_existing_artifacts: true

0 commit comments

Comments
 (0)