Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
x/build/cmd/release: do not ship cmd/api binary #13030
"go tool api" exists for our own internal quality control. It is not a general tool for others to use. It is likely being shipped in the binary distributions just because it gets built like anything else and is needed for all.bash.
The binary distribution packager should remove the cmd/api binary
(Go 1 compatiblity says nothing about tools, so the fact that we shipped one before doesn't matter.)
See CL 15140 for an example of someone thinking it's a general tool.