-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add preview suffix in experimental CI Builds, enable expinsert #11534
base: vs17.8
Are you sure you want to change the base?
Conversation
.vsts-dotnet.yml
Outdated
foreach ($node in $nodes) { | ||
$node.ParentNode.RemoveChild($node) | Out-Null | ||
} | ||
$xml.Save($versionsPath) |
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.
I don't love editing files on disk for this. Would it be possible to instead pass
/p:DotNetFinalVersionKind=prerelease /p:PreReleaseVersionLabel=experimental
to the build command in this case?
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.
Ah actually it looks like that doesn't help like I thought. What about conditions in the project XML itself on a "This is experimental" property set in this yaml?
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.
Why wouldn't it help?
When I ran locally CIBuild.cmd /p:DotNetFinalVersionKind=
it built the packages with suffixes which I wanted.
I'll delete the xml logic and test.
This logic comes from arcade
actually /p:SuppressFinalPackageVersion=true
is even better
Fixes #11492
Context
we added packages to feeds when developing whose version matched the ones we wanted to release, which lead to conflicts
Changes Made
Testing
MSBuild pipeline run: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=11123072&view=results
Exp Insertion: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=11123201&view=results
Notes