Skip to content

cmd/go: +dirty in version stamping doesn't combine well with +incompatible [1.24 backport] #73500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gopherbot opened this issue Apr 25, 2025 · 2 comments
Labels
CherryPickApproved Used during the release process for point releases GoCommand cmd/go
Milestone

Comments

@gopherbot
Copy link
Contributor

@xnox requested issue #71971 to be considered for backport to the next 1.24 minor release.

@gopherbot please backport to Go 1.24. This bug is producing unparsable buildinfo for compliant validators.

@gopherbot gopherbot added CherryPickCandidate Used during the release process for point releases GoCommand cmd/go labels Apr 25, 2025
@gopherbot gopherbot added this to the Go1.24.3 milestone Apr 25, 2025
@gopherbot
Copy link
Contributor Author

Change https://go.dev/cl/668135 mentions this issue: [release-branch.go1.24] cmd/go/internal/load: join incompatible and dirty build specifiers with .

@matloob matloob added CherryPickApproved Used during the release process for point releases and removed CherryPickCandidate Used during the release process for point releases labels Apr 25, 2025
gopherbot pushed a commit that referenced this issue Apr 28, 2025
…irty build specifiers with .

Change "+incompatible+dirty" version to be "+incompatible.dirty" such
that it is SemVer spec compatible.

Fixes #73500

Change-Id: I714ffb3f1ad88c793656c3652367db34739a2144
Reviewed-on: https://go-review.googlesource.com/c/go/+/652955
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
Reviewed-by: Sean Liao <sean@liao.dev>
Auto-Submit: Sean Liao <sean@liao.dev>
Reviewed-by: Michael Matloob <matloob@golang.org>
(cherry picked from commit a6e7445)
Reviewed-on: https://go-review.googlesource.com/c/go/+/668135
@gopherbot
Copy link
Contributor Author

Closed by merging CL 668135 (commit c1f9c2c) to release-branch.go1.24.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CherryPickApproved Used during the release process for point releases GoCommand cmd/go
Projects
None yet
Development

No branches or pull requests

2 participants