Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1522 from gkhanna79/Stabilize104
Browse files Browse the repository at this point in the history
Stabilize Core-Setup for 1.0.4
  • Loading branch information
gkhanna79 authored Feb 10, 2017
2 parents d82a107 + 458590c commit 8243508
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion TestAssets/TestProjects/PortableApp/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.4-servicing-*"
"version": "1.0.4"
},
"Newtonsoft.Json": "9.0.1-beta1"
}
Expand Down
2 changes: 1 addition & 1 deletion TestAssets/TestProjects/PortableTestApp/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.4-servicing-*"
"version": "1.0.4"
},
"Newtonsoft.Json": "9.0.1-beta1",
"xunit": "2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion TestAssets/TestProjects/StandaloneApp/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": "1.0.4-servicing-*",
"Microsoft.NETCore.App": "1.0.4",
"Newtonsoft.Json": "9.0.1-beta1"
}
}
Expand Down
2 changes: 1 addition & 1 deletion TestAssets/TestProjects/StandaloneTestApp/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"portable-net451+win8"
],
"dependencies": {
"Microsoft.NETCore.App": "1.0.4-servicing-*",
"Microsoft.NETCore.App": "1.0.4",
"Newtonsoft.Json": "9.0.1-beta1",
"xunit": "2.1.0",
"xunit.netcore.extensions": "1.0.0-prerelease-00206",
Expand Down
2 changes: 1 addition & 1 deletion branchinfo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
MAJOR_VERSION=1
MINOR_VERSION=0
PATCH_VERSION=4
RELEASE_SUFFIX=servicing
RELEASE_SUFFIX=
CHANNEL=preview
BRANCH_NAME=release/1.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public class BuildVersion : Version
{
public string SimpleVersion => $"{Major}.{Minor}.{Patch}.{CommitCountString}";
public string VersionSuffix => $"{ReleaseSuffix}-{CommitCountString}";
public string NetCoreAppVersion => $"{ProductionVersion}-{VersionSuffix}-00";
public string NetCoreAppVersion => $"{ProductionVersion}";
public string ProductionVersion => $"{Major}.{Minor}.{Patch}";
}
}
10 changes: 9 additions & 1 deletion build_projects/shared-build-targets-utils/Utils/HostVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,16 @@ public override string ToString()
//

// Full versions and package information.
public bool EnsureStableVersion => false;
public bool EnsureStableVersion => true;
public string LatestHostPrerelease => "servicing";
public string LatestHostBuildMajor => CommitCountString;
public string LatestHostBuildMinor => "00";

// These are the versions used by GenerateMSbuildPropsFile to generate version.props that is used for
// versioning of host nuget package projects.
//
// These versions should only be incremented in a servicing release if the package in question
// is being updated.
public VerInfo LatestHostVersion => new VerInfo(1, 0, 1, "", "", "", CommitCountString);
public VerInfo LatestHostFxrVersion => new VerInfo(1, 0, 1, "", "", "", CommitCountString);
public VerInfo LatestHostPolicyVersion => new VerInfo(1, 0, 3, "", "", "", CommitCountString);
Expand Down Expand Up @@ -97,6 +103,8 @@ public override string ToString()
//
// Locked muxer for consumption in CLI.
//
// These versions are used when generating platform installers.
//
public bool IsLocked = true; // Set this variable to toggle muxer locking.
public VerInfo LockedHostFxrVersion => IsLocked ? new VerInfo(1, 0, 1, "", "", "", CommitCountString) : LatestHostFxrVersion;
public VerInfo LockedHostVersion => IsLocked ? new VerInfo(1, 0, 1, "", "", "", CommitCountString) : LatestHostVersion;
Expand Down
5 changes: 5 additions & 0 deletions pkg/stable.packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,10 @@
<StablePackage Include="runtime.win7-x86.Microsoft.NETCore.DotNetHostPolicy">
<Version>1.0.3</Version>
</StablePackage>

<!-- NETCore 1.0.4 servicing core-setup -->
<StablePackage Include="Microsoft.NETCore.App">
<Version>1.0.4</Version>
</StablePackage>
</ItemGroup>
</Project>

0 comments on commit 8243508

Please sign in to comment.