Skip to content

Commit ea3bef8

Browse files
authored
Upadte branding to 9.0-alpha1 (#50063)
1 parent 1d2c90a commit ea3bef8

File tree

4 files changed

+52
-8
lines changed

4 files changed

+52
-8
lines changed

.github/fabricbot.json

Lines changed: 48 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2491,7 +2491,7 @@
24912491
{
24922492
"name": "addMilestone",
24932493
"parameters": {
2494-
"milestoneName": "8.0-rc1"
2494+
"milestoneName": "9.0-preview1"
24952495
}
24962496
}
24972497
],
@@ -3304,7 +3304,51 @@
33043304
{
33053305
"name": "prTargetsBranch",
33063306
"parameters": {
3307-
"branchName": "release/8.0-preview7"
3307+
"branchName": "release/8.0-rc1"
3308+
}
3309+
}
3310+
]
3311+
},
3312+
"eventType": "pull_request",
3313+
"eventNames": [
3314+
"pull_request",
3315+
"issues",
3316+
"project_card"
3317+
],
3318+
"taskName": "[Milestone Assignments] Assign Milestone to PRs merged to release/8.0-rc1 branch",
3319+
"actions": [
3320+
{
3321+
"name": "removeMilestone",
3322+
"parameters": {}
3323+
},
3324+
{
3325+
"name": "addMilestone",
3326+
"parameters": {
3327+
"milestoneName": "8.0-rc1"
3328+
}
3329+
}
3330+
]
3331+
}
3332+
},
3333+
{
3334+
"taskType": "trigger",
3335+
"capabilityId": "IssueResponder",
3336+
"subCapability": "PullRequestResponder",
3337+
"version": "1.0",
3338+
"config": {
3339+
"conditions": {
3340+
"operator": "and",
3341+
"operands": [
3342+
{
3343+
"name": "isAction",
3344+
"parameters": {
3345+
"action": "merged"
3346+
}
3347+
},
3348+
{
3349+
"name": "prTargetsBranch",
3350+
"parameters": {
3351+
"branchName": "release/8.0"
33083352
}
33093353
}
33103354
]
@@ -3315,7 +3359,7 @@
33153359
"issues",
33163360
"project_card"
33173361
],
3318-
"taskName": "[Milestone Assignments] Assign Milestone to PRs merged to release/8.0-preview7 branch",
3362+
"taskName": "[Milestone Assignments] Assign Milestone to PRs merged to release/8.0 branch",
33193363
"actions": [
33203364
{
33213365
"name": "removeMilestone",
@@ -3324,7 +3368,7 @@
33243368
{
33253369
"name": "addMilestone",
33263370
"parameters": {
3327-
"milestoneName": "8.0-preview7"
3371+
"milestoneName": "8.0-rc2"
33283372
}
33293373
}
33303374
]

docs/UpdatingMajorVersionAndTFM.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ Typically, we will update the Major Version before updating the TFM. This is bec
1515
2. Change `PreReleaseVersionIteration` to `1`.
1616
3. Change `PreReleaseVersionLabel` to `alpha`.
1717
4. Change `PreReleaseBrandingLabel` to `Alpha $(PreReleaseVersionIteration)`.
18-
* In [src/Framework/test/TestData.cs](/src/Framework/test/TestData.cs), update `ListedTargetingPackAssemblies` by incrementing the AssemblyVersion of all aspnetcore assemblies by 1 major version. Once dotnet/runtime updates their AssemblyVersions, we also need to update those in this file. They typically make that change at the same time as their TFM update, but we change our AssemblyVersions as soon as we update branding.
1918
* Add entries to [NuGet.config](/NuGet.config) for the new Major Version's feed. This just means copying the current feeds (e.g. `dotnet8` and `dotnet8-transport`) and adding entries for the new feeds (`dotnet9` and `dotnet9-transport`). Make an effort to remove old feeds here at the same time.
2019
* In [src/ProjectTemplates/Shared/TemplatePackageInstaller.cs](/src/ProjectTemplates/Shared/TemplatePackageInstaller.cs), add an entry to `_templatePackages` for `Microsoft.DotNet.Web.ProjectTemplates` matching the new version.
2120
* In [eng/targets/CSharp.Common.props](/eng/targets/CSharp.Common.props) for the previous release branch, modify the `<LangVersion>` to be a hardcoded version instead of `preview`. (e.g. If main is being updated to 8.0.0 modify the `<LangVersion>` in the release/7.0 branch). See https://learn.microsoft.com/dotnet/csharp/language-reference/configure-language-version#defaults to find what language version to use.

eng/Versions.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
-->
77
<Project>
88
<PropertyGroup Label="Version settings">
9-
<AspNetCoreMajorVersion>8</AspNetCoreMajorVersion>
9+
<AspNetCoreMajorVersion>9</AspNetCoreMajorVersion>
1010
<AspNetCoreMinorVersion>0</AspNetCoreMinorVersion>
1111
<AspNetCorePatchVersion>0</AspNetCorePatchVersion>
1212
<PreReleaseVersionIteration>1</PreReleaseVersionIteration>
@@ -17,8 +17,8 @@
1717
-->
1818
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
1919
<DotNetFinalVersionKind Condition="'$(StabilizePackageVersion)' == 'true'">release</DotNetFinalVersionKind>
20-
<PreReleaseVersionLabel>rc</PreReleaseVersionLabel>
21-
<PreReleaseBrandingLabel>Release Candidate $(PreReleaseVersionIteration)</PreReleaseBrandingLabel>
20+
<PreReleaseVersionLabel>alpha</PreReleaseVersionLabel>
21+
<PreReleaseBrandingLabel>Alpha $(PreReleaseVersionIteration)</PreReleaseBrandingLabel>
2222
<IncludePreReleaseLabelInPackageVersion>true</IncludePreReleaseLabelInPackageVersion>
2323
<IncludePreReleaseLabelInPackageVersion Condition=" '$(DotNetFinalVersionKind)' == 'release' ">false</IncludePreReleaseLabelInPackageVersion>
2424
<AspNetCoreMajorMinorVersion>$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion)</AspNetCoreMajorMinorVersion>

src/ProjectTemplates/Shared/TemplatePackageInstaller.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ internal static class TemplatePackageInstaller
3535
"Microsoft.DotNet.Web.ProjectTemplates.6.0",
3636
"Microsoft.DotNet.Web.ProjectTemplates.7.0",
3737
"Microsoft.DotNet.Web.ProjectTemplates.8.0",
38+
"Microsoft.DotNet.Web.ProjectTemplates.9.0",
3839
"Microsoft.AspNetCore.Blazor.Templates",
3940
};
4041

0 commit comments

Comments
 (0)