diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9227a58..b2d5f3b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -159,11 +159,11 @@ Releases are built and published from **tags** 4. A release is auto-created with all 4 tarballs attached. `brew` never sees the new version: the **tap self-updates**: the - `mikefreno/homebrew-podtui` repo has a scheduled workflow (hourly) that + `mikefreno/homebrew-tap` repo has a scheduled workflow (hourly) that polls GitHub releases, and when a new tag appears, rewrites `Formula/podtui.rb` (URLs + arm64/x64 `sha256`) and pushes it — no secrets. See `scripts/sync-formula.sh` in that repo for the logic. Local - test: `brew install mikefreno/podtui/podtui`. + test: `brew install mikefreno/tap/podtui`. 5. **AUR packaging** (`packaging/aur/PKGBUILD`): the `podtui-bin` package is staged, not yet published (AUR account registrations are closed; see the README note in section 3). On each release, keep the AUR sources in sync @@ -177,7 +177,7 @@ Releases are built and published from **tags** If you ever need to sync the tap by hand (or before the hourly job runs): ```bash -cd +cd ./scripts/sync-formula.sh 0.2.0 git commit -am 'podtui 0.2.0' && git push ``` diff --git a/README.md b/README.md index 698575b..c70d292 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Linux (arm64/x64). Pick whichever fits your platform. ### 1. Homebrew (macOS) ```sh -brew install mikefreno/podtui/podtui # requires mpv: brew install mpv +brew install mikefreno/tap/podtui # requires mpv: brew install mpv ``` > The formula installs the standalone binary plus its two native libraries diff --git a/scripts/release-tag.sh b/scripts/release-tag.sh index 249e4bb..7cf552b 100755 --- a/scripts/release-tag.sh +++ b/scripts/release-tag.sh @@ -132,7 +132,7 @@ for r in $REMOTES; do done echo "" echo -e "${YELLOW}Note: pushing the tag to ${BLUE}gh${YELLOW} triggers release.yml CI (4-platform" -echo "binaries + GitHub Release) and the homebrew-podtui tap update.${NC}" +echo "binaries + GitHub Release) and the homebrew-tap tap update.${NC}" echo "" read -p "Proceed? (y/n) " -n 1 -r echo "" @@ -236,5 +236,5 @@ echo "" echo -e "${BLUE}Next steps (automatic, nothing to do):${NC}" echo " 1. GitHub Action release.yml builds 4 tarballs and attaches them:" echo -e " ${CYAN}gh run watch \$(gh run list --limit 1 --json databaseId -q .[0].databaseId)${NC}" -echo " 2. mikefreno/homebrew-podtui self-updates within the hour (Formula" +echo " 2. mikefreno/homebrew-tap self-updates within the hour (Formula" echo " URLs + sha256s); brew upgrade podtui afterwards."