Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Update version to servicing to fix SiteExtension build #255

Closed
wants to merge 1 commit into from

Conversation

pakrym
Copy link
Contributor

@pakrym pakrym commented Nov 19, 2018

No description provided.

@natemcmaster
Copy link
Contributor

Linux builds are failing. Any idea why?

@pakrym pakrym closed this Nov 20, 2018
@pakrym pakrym reopened this Nov 20, 2018
@pakrym
Copy link
Contributor Author

pakrym commented Nov 20, 2018

No idea but retry helped.

<VersionPrefix>2.2.0</VersionPrefix>
<VersionSuffix>rtm</VersionSuffix>
<VersionPrefix>2.2.1</VersionPrefix>
<VersionSuffix>servicing</VersionSuffix>
<PackageVersion Condition="'$(IsFinalBuild)' == 'true' AND '$(VersionSuffix)' == 'rtm' ">$(VersionPrefix)</PackageVersion>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<PackageVersion Condition="'$(IsFinalBuild)' == 'true' AND '$(VersionSuffix)' == 'rtm' ">$(VersionPrefix)</PackageVersion>
<PackageVersion Condition="'$(IsFinalBuild)' == 'true' AND ('$(VersionSuffix)' == 'rtm' OR AND '$(VersionSuffix)' == 'servicing' ) ">$(VersionPrefix)</PackageVersion>

<VersionPrefix>2.2.0</VersionPrefix>
<VersionSuffix>rtm</VersionSuffix>
<VersionPrefix>2.2.1</VersionPrefix>
<VersionSuffix>servicing</VersionSuffix>
<PackageVersion Condition="'$(IsFinalBuild)' == 'true' AND '$(VersionSuffix)' == 'rtm' ">$(VersionPrefix)</PackageVersion>
<PackageVersion Condition="'$(IsFinalBuild)' == 'true' AND '$(VersionSuffix)' != 'rtm' ">$(VersionPrefix)-$(VersionSuffix)-final</PackageVersion>
Copy link
Contributor

@natemcmaster natemcmaster Nov 20, 2018

Choose a reason for hiding this comment

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

Suggested change
<PackageVersion Condition="'$(IsFinalBuild)' == 'true' AND '$(VersionSuffix)' != 'rtm' ">$(VersionPrefix)-$(VersionSuffix)-final</PackageVersion>
<PackageVersion Condition="'$(IsFinalBuild)' == 'true' AND '$(VersionSuffix)' != 'rtm' AND '$(VersionSuffix)' != 'servicing' ">$(VersionPrefix)-$(VersionSuffix)-final</PackageVersion>

@natemcmaster
Copy link
Contributor

A few tweaks to add to make sure servicing builds produce the right version, but then :shipit:

@natemcmaster
Copy link
Contributor

This repo has been merged to https://github.com/aspnet/AspNetCore. You'll need to re-open the PR there.

@natemcmaster natemcmaster deleted the pakrym/update-version branch November 20, 2018 08:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants