Skip to content

Commit 3a8cd1e

Browse files
authored
Add 21H2 definitions to osversion package (microsoft#1205)
* Add 21H2 definitions to osversion package This change adds three new definitions to the osversion package. All three definitions are all of the 21H2 builds across Windows 10, Windows Server and Windows 11, which all have different build numbers. The approach taken was to add a suffix to the definitions with Win10, Server and Win11 respectively. Signed-off-by: Daniel Canter <[email protected]>
1 parent d230699 commit 3a8cd1e

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

osversion/windowsbuilds.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,13 @@ const (
3838

3939
// V21H1 corresponds to Windows Server 21H1 (semi-annual channel).
4040
V21H1 = 19043
41+
42+
// V21H2Win10 corresponds to Windows 10 (November 2021 Update).
43+
V21H2Win10 = 19044
44+
45+
// V21H2Server corresponds to Windows Server 2022 (ltsc2022).
46+
V21H2Server = 20348
47+
48+
// V21H2Win11 corresponds to Windows 11 (original release).
49+
V21H2Win11 = 22000
4150
)

test/vendor/github.com/Microsoft/hcsshim/osversion/windowsbuilds.go

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)