Added
-
Preserve build tags when updating/reinstalling binaries #29
Binaries installed with
go install -tags a,b,c ...
(build tags) will have the build tags preserved when updating them. This means that thego install
command thatgo-global-update
runs internally will also include the same build tags.This behavior is enabled by default and there is no flag to disable it.
This only affects binaries that were installed with build tags.
See Customizing Go Binaries with Build Tags for more information about build tags.
Fixes #28.
Internal
-
Include go 1.23 and drop versions earlier than 1.21 in CI #30
The versions in CI now are closer to the Go release policy. Go 1.21 is also tested right now, even though it is no longer supported anymore.
This is mostly because the latest version of shfmt (v3.9.0) no longer supports Go older than 1.21, and this breaks a lot of integration tests.
go-global-update
itself should still work on earlier versions of Go, but they are no longer tested in CI, and thus, no longer officially supported.