-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updates for one build * Delete build/version.props * Move the version to version.projs a it's also included by tests (#2784) * update other ymls to use MicrosoftIdentityModelVersion * Re-adding version.props to the solution --------- Co-authored-by: Jean-Marc Prieur <[email protected]>
- Loading branch information
Showing
4 changed files
with
20 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<!-- This file may be overwritten by automation. Only values allowed here are VersionPrefix and VersionSuffix. --> | ||
<Project> | ||
<PropertyGroup> | ||
<VersionPrefix>0.0.1</VersionPrefix> | ||
<VersionSuffix>preview</VersionSuffix> | ||
</PropertyGroup> | ||
<!-- Wilson version --> | ||
<PropertyGroup> | ||
<MicrosoftIdentityModelCurrentVersion>8.0.1</MicrosoftIdentityModelCurrentVersion> | ||
|
||
<!--Enables to create preview NuGet packages.--> | ||
<PropertyGroup Condition=" '$(VersionSuffix)' == '' "> | ||
<Version>$(VersionPrefix)</Version> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(VersionSuffix)' != '' "> | ||
<Version>$(VersionPrefix)-$(VersionSuffix)</Version> | ||
</PropertyGroup> | ||
|
||
</Project> | ||
<PreviewVersionSuffix Condition="'$(PreviewVersionSuffix)' == '' and '$(BuildingInsideVisualStudio)' != 'true'">preview-$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMddHHmmss"))</PreviewVersionSuffix> | ||
<!--VS re-evaluates the variables, so having seconds or minutes creates an infinite loop of package updates--> | ||
<PreviewVersionSuffix Condition="'$(PreviewVersionSuffix)' == '' and '$(BuildingInsideVisualStudio)' == 'true'">preview-$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMddHH"))</PreviewVersionSuffix> | ||
<IsCustomPreview>$(MicrosoftIdentityModelVersion.Contains("-"))</IsCustomPreview> | ||
<Version Condition="'$(MicrosoftIdentityModelVersion)' != ''">$(MicrosoftIdentityModelVersion)</Version> | ||
<VersionSuffix Condition="'$(MicrosoftIdentityModelVersion)' == ''">$(PreviewVersionSuffix)</VersionSuffix> | ||
<VersionPrefix Condition="'$(MicrosoftIdentityModelVersion)' == ''">$(MicrosoftIdentityModelCurrentVersion)</VersionPrefix> | ||
<FileVersion Condition="'$(MicrosoftIdentityModelVersion)' != '' and '$(IsCustomPreview)' != 'true' ">$(MicrosoftIdentityModelVersion).$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMdd"))</FileVersion> | ||
<FileVersion Condition="'$(MicrosoftIdentityModelVersion)' == ''">$(MicrosoftIdentityModelCurrentVersion).$([System.DateTime]::Now.AddYears(-2019).Year)$([System.DateTime]::Now.ToString("MMdd"))</FileVersion> | ||
</PropertyGroup> | ||
</Project> |