Skip to content

v1.1.7

Choose a tag to compare

@github-actions github-actions released this 12 Aug 23:16
· 16 commits to main since this release
d37ac5d

Install

Pick your platform on the website,
or take a file below. Every download is listed in SHA256SUMS.txt.

Already running it? It updates itself: open the window and choose Update now,
or run gcloud-dot upgrade.

What changed

winget manifests for 1.1.6

Make an empty cask checksum impossible to publish

Twice now the Homebrew cask has gone out with an empty sha256, which is the
worst way for it to fail: brew refuses every install with a checksum mismatch
before downloading anything, so the cask is broken for everybody while looking
entirely plausible in the diff.

The second time had a cause worth writing down. The hash was read from the
release's download URL, which sits behind a CDN that was still serving the copy
of SHA256SUMS.txt from before the disk image was added to it. The read
succeeded and returned nothing.

So the script reads through gh, which does not go through that cache, refuses
to touch the cask unless the hash is 64 hex characters, and reads the file back
after editing rather than trusting the edit.

1.1.7: recognise a Windows install again

Resolving the executable through its symlinks fixed macOS in 1.1.3 and quietly
broke Windows, where Path::canonicalize returns a verbatim path prefixed
\\?\ and the installer records an ordinary one in the registry. Comparing the
two said no every time, so an installed copy reported itself as self managed.

Nothing behaved differently, because both routes replace themselves by running
the same installer, which is the only reason this was not noticed sooner. It
was still wrong, and upgrade --check said so out loud.

The comparison now allows for the verbatim prefix and for Windows not caring
about case. It is a pure function, compiled and tested on every platform rather
than only on the one it affects, since a rule exercised nowhere is a rule
nobody notices breaking.

Full changelog: v1.1.6...v1.1.7