-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fixing 'Channel' and 'BranchName': "release/2.1.4xx" to "master" #9362
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should really be calculating the information in BranchInfo.props dynamically, otherwise we will continue to get this wrong.
We can't do that for the README.md file, but if we were calculating the Channel
and BranchName
dynamically, then we could have a test that ensured that README.md was up-to-date.
We should probably have a validation job (possibly a MicroBuild job, to parity what Roslyn has). That job can trivially validate things like that publish branch or created packages matching the branch that GitHub pulls down. It also avoids the problem of building from sources that don't have branch info or that weren't checked out via Git. |
@tannergooding @johnbeisner Can one of you file an issue to improve things here? IE either calculating these properties dynamically, or validating that they are correct in a validation job. |
git rev-parse --abbrev-ref HEAD |
* master: (31 commits) Updating signing project to use new intermediate directory (int). Update runtimeconfig.json doc for 2.1 (dotnet#9382) Shortening the path to the intermediate folder by renaming it to int. fix typo (dotnet#9364) Updating asp.net to 2.2.0 as well. Updating the build and tests to work with the 2.2.0 runtime. Simplified combining dictionaries in Telemetry Fixing 'Channel' and 'BranchName': "release/2.1.4xx" to "master" (dotnet#9362) Fix extraction of folders (dotnet#9335) Update Sha256Hasher.cs Fix relative path tool path (dotnet#9330) Insert updated SDK from 2.1.4xx branch MSBuild 15.8.60 Fix crash when user home directory cannot be determined. Make `CliFolderPathCalculator` a static class. Don't add the ReleaseSuffix to the branding on the CLI when DropSuffix is set to true. Add retry when Directory.Move (dotnet#9313) Override new SdkResult public properties Add reference to Microsoft.Build.NuGetSdkResolver Disable crossgen for MSBuild inline-task refs ... README.md build/BranchInfo.props build/BundledTemplates.props build/DependencyVersions.props build/Version.props src/redist/redist.csproj test/EndToEnd/GivenAspNetAppsResolveImplicitVersions.cs tools/CrossGen.Dependencies/CrossGen.Dependencies.csproj
…e_master_cli * 'master' of /Users/livarcocc/Documents/git/cli: (1063 commits) Updating signing project to use new intermediate directory (int). Update runtimeconfig.json doc for 2.1 (dotnet#9382) Shortening the path to the intermediate folder by renaming it to int. fix typo (dotnet#9364) Updating asp.net to 2.2.0 as well. Updating the build and tests to work with the 2.2.0 runtime. Simplified combining dictionaries in Telemetry Fixing 'Channel' and 'BranchName': "release/2.1.4xx" to "master" (dotnet#9362) Fix extraction of folders (dotnet#9335) Update Sha256Hasher.cs Fix relative path tool path (dotnet#9330) Insert updated SDK from 2.1.4xx branch MSBuild 15.8.60 Fix crash when user home directory cannot be determined. Make `CliFolderPathCalculator` a static class. Don't add the ReleaseSuffix to the branding on the CLI when DropSuffix is set to true. Add retry when Directory.Move (dotnet#9313) Override new SdkResult public properties Add reference to Microsoft.Build.NuGetSdkResolver Disable crossgen for MSBuild inline-task refs ...
Fixing 'Channel' and 'BranchName': "release/2.1.4xx" to "master" - also the readme