mage icon indicating copy to clipboard operation
mage copied to clipboard

Install specific version

Open pellared opened this issue 5 years ago • 2 comments
trafficstars

README could have instructions on how to install a specific version of mage for sake of reproducible builds or corporate legal processes which may require strict versioning.

This is how I do it:

GO111MODULE=on go get github.com/magefile/[email protected]

If you want I can even make a PR, but I need to know what do you think of it.

pellared avatar May 01 '20 19:05 pellared

There are version specific releases that you can download if you need to. That's even more locked down and reliable than using go get.

It could be useful to have more instructions for that purpose, I suppose. If you wanted to make the PR that's fine.

natefinch avatar May 01 '20 20:05 natefinch

What do you mean by "more locked down" and "reliable"? What are the differences other than mage -version printing the version?

Downloading them manually is not so efficient especially for an automation tool 😄 I try to make some automation that would work for any OS + Docker. Maybe it would interest you: https://github.com/golang-templates/basic

pellared avatar May 01 '20 23:05 pellared