Skip to content

Add a new element to the manifest UsesReleaseOnlyPackageVersion#6319

Merged
epananth merged 18 commits intodotnet:masterfrom
epananth:add-check
Oct 6, 2020
Merged

Add a new element to the manifest UsesReleaseOnlyPackageVersion#6319
epananth merged 18 commits intodotnet:masterfrom
epananth:add-check

Conversation

@epananth
Copy link
Member

@epananth epananth commented Oct 2, 2020

Part one adding element to the manifest ->Issue (#6276)

test build -> https://dnceng.visualstudio.com/internal/_build/results?buildId=840108&view=results

For the merged manifest to have the additional attribute (in Maestro task) this has to be merged.

<IsStableBuild>false</IsStableBuild>
<IsStableBuild Condition="'$(DotNetFinalVersionKind)' == 'release'">true</IsStableBuild>

<UsesReleaseOnlyPackageVersion>false</UsesReleaseOnlyPackageVersion>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment here indicating what this property indicates and why we are passing it to the manifest creation?

/// <summary>
/// Is the manifest for Release only package version?
/// </summary>
public bool UsesReleaseOnlyPackageVersion { get; set; }
Copy link
Member

@MattGal MattGal Oct 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Can't point to any rules saying one way or the other but this variable seems like either IsReleaseOnlyPackageVersion (if this variable tells us the package versions are already like that, as IsStableBuild does above) or `UseReleaseOnlyPackageVersion' (if you set the value when it's about to generate a version). I think there's a fair bit of precedent in the framework.

@epananth
Copy link
Member Author

epananth commented Oct 5, 2020

Yay! test caught a bug! :)
Oh, no! test caught a bug :(

@epananth epananth closed this Oct 5, 2020
@epananth epananth reopened this Oct 5, 2020
@epananth epananth self-assigned this Oct 6, 2020
@epananth epananth merged commit e02a56d into dotnet:master Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants