Skip to content

Include revision in Microsoft-specific version string#2140

Merged
dagood merged 2 commits intomicrosoft/mainfrom
dev/dagood/fix-rev
Feb 25, 2026
Merged

Include revision in Microsoft-specific version string#2140
dagood merged 2 commits intomicrosoft/mainfrom
dev/dagood/fix-rev

Conversation

@dagood
Copy link
Member

@dagood dagood commented Feb 13, 2026

@dagood
Copy link
Member Author

dagood commented Feb 25, 2026

A cherry-pick to 1.26 (making sure to clean the submodule before building) also works now:

$ GODEBUG=ms_version=1 go/bin/go version
go version go1.26.0-1-microsoft linux/amd64

$ go/bin/go version -m go/bin/go
go/bin/go: go1.26.0
        path    cmd/go
        build   microsoft_toolset_version=go1.26.0-1-microsoft

@dagood dagood merged commit 165873c into microsoft/main Feb 25, 2026
43 checks passed
@dagood dagood deleted the dev/dagood/fix-rev branch February 25, 2026 23:41
dagood added a commit that referenced this pull request Feb 25, 2026
* Include revision in Microsoft-specific version string

* Split VERSION and MICROSOFT_REVISION handling

(cherry picked from commit 165873c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants