release v1.1.3 — automate Homebrew + fix version constant - #3
Merged
Conversation
- proto.Version const→var, injected at build time via goreleaser ldflags (binary now reports the release tag, not a hardcoded 1.0.15) - goreleaser brews: block auto-updates jams24/homebrew-deployzy formula each release (needs HOMEBREW_TAP_TOKEN secret) - bump all packages to 1.1.3 - rebrand npm-package/README.md (was still ServerMe)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #2 (includes the same version bump + npm README fix, plus CI improvements).
Changes
proto.Versionis now avarinjected at build time via goreleaser ldflags (-X .../proto.Version={{ .Version }}). The CLI/server now report the real release tag instead of a hardcoded1.0.15. (Verified: ldflag injection works.)brews:block auto-updates thejams24/homebrew-deployzyformula (version + sha256) on every release — no more manual formula edits.npm-package/README.md(was still ServerMe)The Homebrew automation needs a token (it's the only cross-repo push, so it can't be OIDC):
jams24/homebrew-deployzy→ permission Contents: Read and write → Generate.jams24/deployzy→ Settings → Secrets and variables → Actions → New secret → nameHOMEBREW_TAP_TOKEN, paste the PAT.Release
After merging + adding the secret:
git tag v1.1.3 && git push origin main --tags→ CI publishes 1.1.3 to npm×2 + PyPI, cuts the GitHub release, and auto-updates the Homebrew formula.