|
|
@@ -46,9 +46,10 @@ Once dotnet/runtime has updated their TFM, we update ours in the dependency upda
|
|
|
3. Create a PR like [this one](https://github.com/dotnet/spa-templates/pull/21) updating the branding & TFM in the `main` branch of dotnet/spa-templates.
|
|
|
* Do not merge this until the PR from the previous step is merged.
|
|
|
* Update template precedence
|
|
|
- 1. Create & merge a PR like [this one](https://github.com/dotnet/spa-templates/pull/39) in dotnet/spa-templates updating `precedence` and `identity` elements in all template.json files.
|
|
|
- * Going forward, update precedence values by increasing them to the next integer value whose first digits correspond with the major version. This makes it easier to verify that precedence values for any given template were updated since the previous release.
|
|
|
- * For example, if a precedence value was 9000 for 7.0, increase it to 80000 for 8.0.
|
|
|
+ 1. Create & merge a PR like [this one](https://github.com/dotnet/spa-templates/pull/105) in dotnet/spa-templates updating `precedence` and `identity` elements in all template.json files, as well as replacing any references to the previous TFM with the new on in templatestrings.json files.
|
|
|
+ * Going forward, Precedence values should be (9000 + (Major Version) * 100) for 8.0 and 9.0, and (Major Version * 1000) after that.
|
|
|
+ * This means 8.0's Precedence should be 9800, 9.0's should be 9900, 10.0's should be 10000, 11.0's should be 11000, and so on.
|
|
|
+ * If we need to release a Minor version of any of these, use the first zero digit after the Major version to represent that (e.g. 9810 for 8.1, 10100 for 10.1).
|
|
|
2. Create a PR like [this one](https://github.com/dotnet/aspnetcore/pull/39783) in dotnet/aspnetcore that updates the spa-templates submodule, and updates the `precedence`, `identity`, and (if it exists) `thirdPartyNotices` elements in all template.json files.
|
|
|
* Make sure to update _all_ template.json files, including project templates and item templates.
|
|
|
* Update precedence values by increasing them to the next integer value whose first digits correspond with the major version.
|