You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[xa-prep-tasks] fix build errors for long darc- branch names (#9740)
Context: #9732
PR #9732 failed with:
NuGet.Build.Tasks.Pack.targets(221,5): error NU5123: Warning As Error: The file 'package/services/metadata/core-properties/027a96e260344b159133798c830dab61.psmdcp' path, name, or both are too long. Your package might not work without long file path support. Please shorten the file path or file name.
The branch name is 68 characters long:
darc-release/10.0.1xx-preview1-94740166-a85b-4349-9dd7-c8274168049c
Update the `<GitBranch/>` MSBuild task to substring long `darc-`
branch names to avoid this problem. I found even 50 characters was
causing the issue, so I chose 32.
0 commit comments