You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0a7269b
Browse filesBrowse the repository at this point in the historyBrowse files
feat: mirror releases + install scripts to S3 for GitHub-restricted hosts
Add an opt-in CDN mirror path so the CLI can be installed where github.com
is unreachable, without exposing the mirror host in the repo:
- release.yml: mirror release binaries + checksums.txt + a releases/latest
pointer to an S3-compatible bucket (driven by MIRROR_S3_* secrets; skips
when unset).
- install-scripts.yml: lint install.sh and mirror install.sh + install.ps1
to the same bucket on push to main.
- install.sh / install.ps1: honor MIRROR_URL to resolve the version pointer
and download assets from the mirror instead of GitHub, with checksums.txt
verification (warn-and-skip for pre-mirror releases) and release-tag
validation on the network-resolved version.
- .goreleaser.yml: pin the checksum file name to checksums.txt so the
verification path has a stable asset name.
The mirror host is supplied at call time via MIRROR_URL / the S3 secrets, so
the billable CDN address is never published in the repo.
0 commit comments