Gelio / go-global-update

A command to update globally installed go executables
MIT License
146 stars 4 forks source link

Skip updating binaries built from source #6

Closed Gelio closed 2 years ago

Gelio commented 2 years ago

Skip updating binaries that were:

Such binaries have a (devel) version listed in go version -m binary-name. Moreover, binaries built using go build have their path set to command-line-arguments, which makes it impossible to upgrade.

These binaries will be skipped now instead of trying to upgrade them and failing.

Closes #3