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

Open
opened 2026-01-31 09:09:44 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/3672
Author: @DHowett-MSFT
Created: 11/23/2019
Status: Merged
Merged: 11/25/2019
Merged by: @DHowett-MSFT

Base: masterHead: dev/duhowett/csproj


📝 Commits (5)

  • d705b6f Conform to some arcane rules regarding project files
  • 0325da2 Revert "Conform to some arcane rules regarding project files"
  • 52cd772 Pop the version into something
  • 4df60c7 wing it
  • 25363f5 x

📊 Changes

3 files changed (+12 additions, -6 deletions)

View changed files

custom.props (+11 -0)
📝 src/cascadia/CascadiaPackage/CascadiaPackage.wapproj (+0 -5)
📝 src/cascadia/WpfTerminalControl/WpfTerminalControl.csproj (+1 -1)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/3672 **Author:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Created:** 11/23/2019 **Status:** ✅ Merged **Merged:** 11/25/2019 **Merged by:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Base:** `master` ← **Head:** `dev/duhowett/csproj` --- ### 📝 Commits (5) - [`d705b6f`](https://github.com/microsoft/terminal/commit/d705b6fa6ab9c492073103b17eed56c08420f5a6) Conform to some arcane rules regarding project files - [`0325da2`](https://github.com/microsoft/terminal/commit/0325da2715b3f03dbff1ff6e79f56e1e2685c877) Revert "Conform to some arcane rules regarding project files" - [`52cd772`](https://github.com/microsoft/terminal/commit/52cd772def63de5c73dc01d27e686846ad278121) Pop the version into something - [`4df60c7`](https://github.com/microsoft/terminal/commit/4df60c78c15535b89bbf69a113ed4d41a38827e1) wing it - [`25363f5`](https://github.com/microsoft/terminal/commit/25363f5a3c0cf7a8683f371f9b12efc2911a6400) x ### 📊 Changes **3 files changed** (+12 additions, -6 deletions) <details> <summary>View changed files</summary> ➕ `custom.props` (+11 -0) 📝 `src/cascadia/CascadiaPackage/CascadiaPackage.wapproj` (+0 -5) 📝 `src/cascadia/WpfTerminalControl/WpfTerminalControl.csproj` (+1 -1) </details> ### 📄 Description 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:09:44 +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#25472