File tree Expand file tree Collapse file tree 4 files changed +20
-33
lines changed Expand file tree Collapse file tree 4 files changed +20
-33
lines changed Original file line number Diff line number Diff line change 2
2
3
3
<Import Project =" dependencies.props" />
4
4
<Import Project =" targets.props" />
5
+ <Import Project =" version.props" />
5
6
6
7
<PropertyGroup >
7
8
<AssemblyOriginatorKeyFile >$(MSBuildThisFileDirectory)35MSSharedLib1024.snk</AssemblyOriginatorKeyFile >
31
32
<EnforceCodeStyleInBuild >true</EnforceCodeStyleInBuild >
32
33
</PropertyGroup >
33
34
34
- <!-- Wilson version -->
35
- <PropertyGroup >
36
- <WilsonCurrentVersion >8.0.0</WilsonCurrentVersion >
37
-
38
- <PreviewVersionSuffix Condition =" '$(PreviewVersionSuffix)' == '' and '$(BuildingInsideVisualStudio)' != 'true'" >preview-$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMddHHmmss"))</PreviewVersionSuffix >
39
- <!-- VS re-evaluates the variables, so having seconds or minutes creates an infinite loop of package updates-->
40
- <PreviewVersionSuffix Condition =" '$(PreviewVersionSuffix)' == '' and '$(BuildingInsideVisualStudio)' == 'true'" >preview-$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMddHH"))</PreviewVersionSuffix >
41
- <IsCustomPreview >$(WilsonVersion.Contains("-"))</IsCustomPreview >
42
- <Version Condition =" '$(WilsonVersion)' != ''" >$(WilsonVersion)</Version >
43
- <VersionSuffix Condition =" '$(WilsonVersion)' == ''" >$(PreviewVersionSuffix)</VersionSuffix >
44
- <VersionPrefix Condition =" '$(WilsonVersion)' == ''" >$(WilsonCurrentVersion)</VersionPrefix >
45
- <FileVersion Condition =" '$(WilsonVersion)' != '' and '$(IsCustomPreview)' != 'true' " >$(WilsonVersion).$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMdd"))</FileVersion >
46
- <FileVersion Condition =" '$(WilsonVersion)' == ''" >$(WilsonCurrentVersion).$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMdd"))</FileVersion >
47
- </PropertyGroup >
48
35
49
36
<PropertyGroup >
50
37
<EnablePackageValidation >false</EnablePackageValidation >
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ schedules:
13
13
14
14
# The following variables are set in the release build UI:
15
15
# BuildConfiguration: 'debug|release'
16
- # WilsonVersion : ''. Full version number
16
+ # MicrosoftIdentityModelVersion : ''. Full version number
17
17
# BuildPlatform: 'any cpu'
18
18
19
19
jobs :
28
28
29
29
steps :
30
30
31
- - template : template-Build-run-tests-sign.yml
31
+ - template : template-Build-run-tests-sign.yml
Original file line number Diff line number Diff line change 4
4
- script : echo $(BuildConfiguration)
5
5
displayName : ' display Build Configuration'
6
6
7
- - script : echo $(WilsonVersion )
8
- displayName : ' display WilsonVersion '
7
+ - script : echo $(MicrosoftIdentityModelVersion )
8
+ displayName : ' display MicrosoftIdentityModelVersion '
9
9
10
10
- task : UseDotNet@2
11
11
displayName : ' Use .NET Core sdk 2.x'
@@ -187,7 +187,7 @@ steps:
187
187
188
188
- task : NuGetCommand@2
189
189
displayName : ' Upload NuGet Package to VSTS NuGet'
190
- condition : eq(variables['WilsonVersion '], '')
190
+ condition : eq(variables['MicrosoftIdentityModelVersion '], '')
191
191
inputs :
192
192
command : push
193
193
packagesToPush : ' $(Build.Repository.LocalPath)\artifacts\*.nupkg'
Original file line number Diff line number Diff line change 1
1
<!-- This file may be overwritten by automation. Only values allowed here are VersionPrefix and VersionSuffix. -->
2
2
<Project >
3
- <PropertyGroup >
4
- <VersionPrefix >0.0.1</VersionPrefix >
5
- <VersionSuffix >preview</VersionSuffix >
6
- </PropertyGroup >
3
+ <!-- Wilson version -->
4
+ <PropertyGroup >
5
+ <MicrosoftIdentityModelCurrentVersion >8.0.1</MicrosoftIdentityModelCurrentVersion >
7
6
8
- <!-- Enables to create preview NuGet packages.-->
9
- <PropertyGroup Condition =" '$(VersionSuffix)' == '' " >
10
- <Version >$(VersionPrefix)</Version >
11
- </PropertyGroup >
12
-
13
- <PropertyGroup Condition =" '$(VersionSuffix)' != '' " >
14
- <Version >$(VersionPrefix)-$(VersionSuffix)</Version >
15
- </PropertyGroup >
16
-
17
- </Project >
7
+ <PreviewVersionSuffix Condition =" '$(PreviewVersionSuffix)' == '' and '$(BuildingInsideVisualStudio)' != 'true'" >preview-$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMddHHmmss"))</PreviewVersionSuffix >
8
+ <!-- VS re-evaluates the variables, so having seconds or minutes creates an infinite loop of package updates-->
9
+ <PreviewVersionSuffix Condition =" '$(PreviewVersionSuffix)' == '' and '$(BuildingInsideVisualStudio)' == 'true'" >preview-$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMddHH"))</PreviewVersionSuffix >
10
+ <IsCustomPreview >$(MicrosoftIdentityModelVersion.Contains("-"))</IsCustomPreview >
11
+ <Version Condition =" '$(MicrosoftIdentityModelVersion)' != ''" >$(MicrosoftIdentityModelVersion)</Version >
12
+ <VersionSuffix Condition =" '$(MicrosoftIdentityModelVersion)' == ''" >$(PreviewVersionSuffix)</VersionSuffix >
13
+ <VersionPrefix Condition =" '$(MicrosoftIdentityModelVersion)' == ''" >$(MicrosoftIdentityModelCurrentVersion)</VersionPrefix >
14
+ <FileVersion Condition =" '$(MicrosoftIdentityModelVersion)' != '' and '$(IsCustomPreview)' != 'true' " >$(MicrosoftIdentityModelVersion).$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMdd"))</FileVersion >
15
+ <FileVersion Condition =" '$(MicrosoftIdentityModelVersion)' == ''" >$(MicrosoftIdentityModelCurrentVersion).$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMdd"))</FileVersion >
16
+ </PropertyGroup >
17
+ </Project >
You can’t perform that action at this time.
0 commit comments