Skip to content

[Golang] Selecting and pinning the v4.12.0 release #4201

Answered by jimidle
mielleman asked this question in Q&A
Discussion options

You must be logged in to vote

You just have to use go get - it will get the latest version but because the go runtime is in a buried directory, go get -u will use the hash etc. for the tag in go.mod. But it does get the right code. I tried 2000 ways to make the tag be used in go.mod, but the only way to do this is to move the code to its own repo, which I am debating. But that would require changing the package name again. The master branch is always at the latest release of the runtime. You can also try the dev branch which is sitting on a number of improvements, if you don't need stability.

I asked everyone I can think of about this, but the tags in the monorepo confuse it.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@mielleman
Comment options

Answer selected by mielleman
Comment options

You must be logged in to vote
2 replies
@mielleman
Comment options

@jimidle
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants