Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ jobs:
ruby -pi -e 'gsub(/sha256 "[^"]+"/, "sha256 \"#{ENV.fetch("DMG_SHA256")}\"")' "$tap_dir/Casks/capture-this.rb"

cd "$tap_dir"
brew audit --cask --new capture-this
HOMEBREW_NO_AUTO_UPDATE=1 brew tap meck93/tap "$tap_dir"
HOMEBREW_NO_AUTO_UPDATE=1 brew audit --cask --new meck93/tap/capture-this

git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
Expand Down
5 changes: 3 additions & 2 deletions docs/homebrew-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The release workflow will:
8. Clone `meck93/homebrew-tap`.
9. Copy `Casks/capture-this.rb` from this repository into the tap.
10. Update `Casks/capture-this.rb` with the release version and DMG checksum.
11. Run `brew audit --cask --new capture-this` from inside the tap checkout.
11. Register the temporary checkout as `meck93/tap` and run `brew audit --cask --new meck93/tap/capture-this`.
12. Commit and push the tap update.

The first successful release creates `Casks/capture-this.rb` in the tap if it does not exist yet.
Expand Down Expand Up @@ -114,7 +114,8 @@ sha256 "DMG_SHA256_FROM_SHASUM"
Validate and push:

```bash
brew audit --cask --new capture-this
brew tap meck93/tap .
brew audit --cask --new meck93/tap/capture-this
git add Casks/capture-this.rb
git commit -m "chore: update CaptureThis to 0.1.0"
git push
Expand Down
Loading