[PR #3672] consolidate PackageES versioning in /custom.props #25477

Closed
opened 2026-01-31 09:09:45 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/3672

State: closed
Merged: Yes


This location and name is practically mandated by PackageES. Sorry ☹️.

This will ensure that all artifacts that we produce are versioned properly:

thing version (example)
exe, dll, .net assembly 0.7.1911.22009
nupkg 0.7.191122009
appx 0.7.3269.0

For reference, here's the version format:

EXE, DLL, .NET Assembly

0.7.1911.22009
^ ^  ^ ^  ^  ^
| |  | |  |  `-Build # on that date
| |  | |  `-Day
| |  | `-Month
| |  `-Year
| `-Minor
`-Major

NuGet Package

0.7.191122009
^ ^  ^ ^ ^  ^
| |  | | |  `-Build # on that date
| |  | | `-Day
| |  | `-Month
| |  `-Year
| `-Minor
`-Major

AppX Package

0.7.03269.0
^ ^ ^  ^^ ^
| | |  || `-Contractually always zero (a waste)
| | |  |`-Build # on that date
| | |  `-Number of days in [base year]
| | `-Number of years since [base year]
| `-Minor
`-Major

[base year] = $(XesBaseYearForStoreVersion)

It is expected that the base year is changed every time
the version number is changed.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/3672 **State:** closed **Merged:** Yes --- This location and name is practically mandated by PackageES. Sorry ☹️. This will ensure that all artifacts that we produce are versioned properly: |thing|version (example)| |-|-| |exe, dll, .net assembly|`0.7.1911.22009`| |nupkg|`0.7.191122009`| |appx|`0.7.3269.0`| For reference, here's the version format: ### EXE, DLL, .NET Assembly ``` 0.7.1911.22009 ^ ^ ^ ^ ^ ^ | | | | | `-Build # on that date | | | | `-Day | | | `-Month | | `-Year | `-Minor `-Major ``` ### NuGet Package ``` 0.7.191122009 ^ ^ ^ ^ ^ ^ | | | | | `-Build # on that date | | | | `-Day | | | `-Month | | `-Year | `-Minor `-Major ``` ### AppX Package ``` 0.7.03269.0 ^ ^ ^ ^^ ^ | | | || `-Contractually always zero (a waste) | | | |`-Build # on that date | | | `-Number of days in [base year] | | `-Number of years since [base year] | `-Minor `-Major [base year] = $(XesBaseYearForStoreVersion) ``` It is expected that the base year is changed every time the version number is changed.
claunia added the pull-request label 2026-01-31 09:09:45 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25477