GitHub holds a release's asset names unique without regard to case, so a CLI archive spelled atlas-… collides with the desktop's Atlas-… wherever the two share a platform and an extension -- linux-amd64's tar.gz, windows-amd64's zip -- and the v0.1.0 release job died half-published on exactly that. The CLI's archives are now atlas-cli-…, which no desktop name can shadow and which reads better to a person deciding which file they want. The v0.1.0 assets were republished by hand under the same naming.
- commit
- 107f0677205b46a7ec3cbc26c2c8c86acc3cb95e
- parent
- 68e09b4d8b36722d6c10444d608f55f09a515c05
- author
- Dami <dami.etoile@gmail.com>
- kind
- build risk score 1.8 of 3, Jev's estimate
| M | .github/ | 8 | +++++++- |
@@ -87,7 +87,13 @@ jobs:
8787 VERSION="${{ inputs.version }}"8888 [[ -n "${VERSION}" ]] || VERSION="dev-$(git rev-parse --short HEAD)"8989 fi90- NAME="atlas-${VERSION}-${GOOS}-${GOARCH}"90+ # "atlas-cli-", not "atlas-": GitHub release asset names are91+ # case-insensitively unique, so a CLI archive spelled "atlas-…"92+ # collides with the desktop's "Atlas-…" wherever the two share a93+ # platform and an extension — which is exactly how v0.1.0's release94+ # job died half-published. The prefix also reads better to a person95+ # deciding which file they want.96+ NAME="atlas-cli-${VERSION}-${GOOS}-${GOARCH}"9197 BINARY="atlas"9298 if [[ "${GOOS}" == "windows" ]]; then BINARY="atlas.exe"; fi9399 mkdir -p "dist/${NAME}"