From 7c16062a53f5e28fba6d2b59239e310d24dc3b4d Mon Sep 17 00:00:00 2001 From: Mike Kramlich Date: Thu, 25 Feb 2021 10:19:37 -0700 Subject: [PATCH] brew: formula go builds embed version props into the tailscale{d} exes it is now done correctly, and is exactly compatible to build_dist.sh (WIP) Signed-off-by: Mike Kramlich --- brew/README.md | 6 +++--- brew/generate-formula.sh | 28 ++++++++++++++++++---------- brew/tailscale.commit-pin.rb | 28 ++++++++++++++++++---------- brew/tailscale.rb | 28 ++++++++++++++++++---------- brew/tailscale.tb-github.rb | 28 ++++++++++++++++++---------- brew/tailscale.tb-local.rb | 28 ++++++++++++++++++---------- 6 files changed, 93 insertions(+), 53 deletions(-) diff --git a/brew/README.md b/brew/README.md index 9364255a4..55ee97e9a 100644 --- a/brew/README.md +++ b/brew/README.md @@ -18,11 +18,11 @@ These platform versions and permutations have been tested and are known to work | role | brew | golang | os | arch | repo | | ----------- | --------------------------- | --------------------- | ---------------------- | ------------------ | ---------- | | maintainer: | Homebrew 3.0.1-120-g5ca03ab | go1.15.8 darwin/amd64 | macOS Catalina 10.15.3 | Intel 64-bit | | -| | | | macOS Big Sur 11.x (?) | Apple M1 ARM64 (?) | | +| | w/ ruby 2.6.3p62 | | macOS Big Sur 11.x (?) | Apple M1 ARM64 (?) | | | | | | | | | | | | | | | | | pkg target: | Homebrew 3.0.1-120-g5ca03ab | go1.15.8 darwin/amd64 | macOS Catalina 10.15.3 | Intel 64-bit | tailscale: | -| | | | macOS Big Sur 11.x (?) | Apple M1 ARM64 (?) | 188bb14269 | +| | w/ ruby 2.6.3p62 | | macOS Big Sur 11.x (?) | Apple M1 ARM64 (?) | 188bb14269 | | | | | | | HEAD | | | | | | | likely 1.5 | @@ -44,12 +44,12 @@ These platform versions and permutations have been tested and are known to work | | make-test-source-tarball.sh | | | | serve-tarball.sh | | | | dl-tarball-sha.sh | | -| | search-interesting.sh | nice to keep these on maintainer's radar | | | test.sh | tests all supported permutations | | | install-start-with-checks.sh | install test run for maintainer | | | up.sh | | | | status.sh | | | | stop-uninstall-wipe.sh | closing counterpart to the install*.sh script | +| | search-interesting.sh | nice to keep these on maintainer's radar | | | | | | subdirs | brew/local/ | .gitignored tree created and used during brew maintenance work | diff --git a/brew/generate-formula.sh b/brew/generate-formula.sh index cd0dd0ea1..03f2a9a98 100755 --- a/brew/generate-formula.sh +++ b/brew/generate-formula.sh @@ -40,21 +40,29 @@ cat <