diff --git a/build/common.props b/build/common.props index 698e2f399d..c8db83c7ff 100644 --- a/build/common.props +++ b/build/common.props @@ -2,6 +2,7 @@ + $(MSBuildThisFileDirectory)35MSSharedLib1024.snk @@ -31,20 +32,6 @@ true - - - 8.0.0 - - preview-$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMddHHmmss")) - - preview-$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMddHH")) - $(WilsonVersion.Contains("-")) - $(WilsonVersion) - $(PreviewVersionSuffix) - $(WilsonCurrentVersion) - $(WilsonVersion).$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMdd")) - $(WilsonCurrentVersion).$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMdd")) - false diff --git a/build/releaseBuild.yml b/build/releaseBuild.yml index 2e66a454e2..0436b1b7be 100644 --- a/build/releaseBuild.yml +++ b/build/releaseBuild.yml @@ -13,7 +13,7 @@ schedules: # The following variables are set in the release build UI: # BuildConfiguration: 'debug|release' - # WilsonVersion: ''. Full version number + # MicrosoftIdentityModelVersion: ''. Full version number # BuildPlatform: 'any cpu' jobs: @@ -28,4 +28,4 @@ jobs: steps: - - template: template-Build-run-tests-sign.yml \ No newline at end of file + - template: template-Build-run-tests-sign.yml diff --git a/build/template-Build-run-tests-sign.yml b/build/template-Build-run-tests-sign.yml index 039ec07aea..5771176096 100644 --- a/build/template-Build-run-tests-sign.yml +++ b/build/template-Build-run-tests-sign.yml @@ -4,8 +4,8 @@ steps: - script: echo $(BuildConfiguration) displayName: 'display Build Configuration' -- script: echo $(WilsonVersion) - displayName: 'display WilsonVersion' +- script: echo $(MicrosoftIdentityModelVersion) + displayName: 'display MicrosoftIdentityModelVersion' - task: UseDotNet@2 displayName: 'Use .NET Core sdk 2.x' @@ -187,7 +187,7 @@ steps: - task: NuGetCommand@2 displayName: 'Upload NuGet Package to VSTS NuGet' - condition: eq(variables['WilsonVersion'], '') + condition: eq(variables['MicrosoftIdentityModelVersion'], '') inputs: command: push packagesToPush: '$(Build.Repository.LocalPath)\artifacts\*.nupkg' diff --git a/build/version.props b/build/version.props index 6ab18636f9..b1584b52e5 100644 --- a/build/version.props +++ b/build/version.props @@ -1,17 +1,17 @@ - - 0.0.1 - preview - + + + 8.0.1 - - - $(VersionPrefix) - - - - $(VersionPrefix)-$(VersionSuffix) - - - + preview-$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMddHHmmss")) + + preview-$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMddHH")) + $(MicrosoftIdentityModelVersion.Contains("-")) + $(MicrosoftIdentityModelVersion) + $(PreviewVersionSuffix) + $(MicrosoftIdentityModelCurrentVersion) + $(MicrosoftIdentityModelVersion).$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMdd")) + $(MicrosoftIdentityModelCurrentVersion).$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMdd")) + + \ No newline at end of file