Hello,
and thanks for another great Go release!
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Zlatko
Hello,
and thanks for another great Go release!
I have just one question, and it's not specific to this beta, but all Go betas and rc-s.
I compile Go from repository like this:
cd $HOME/src/go.googlesource.com/go
git checkout -f master
git clean -fdx
git pull --ff-only
git checkout -f go1.8beta1
cd src && make.bash
The resulting binary unfortunately is not labeled as go1.8beta1, but instead:
go version devel +41908a5 Thu Dec 1 02:54:21 2016 +0000 linux/amd64
What follows next is that various Go software, where developers decided to explicitely test for Go version (and of course don't deal well with devel versions) fails to compile. One example is gopherjs, it's uncompilable with this beta version, unless I manually edit the source and remove gratuitous checks.
The question is, how do I persuade the compiled beta to report version as go1.8beta1?
Ah, I see... Thank you for the hint minux!
I can live with a bit of manual editing, it's not that beta's are released every day. :)
Also git clean -fdx step from my simple compilation script takes care of removing stale VERSION files, so all should be OK.
go version go1.8beta1 linux/amd64
Yay! :)
Now, to see if gopherjs fancies THIS version string...
-- Zlatko