mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-24 12:35:31 +00:00
Build updates.
This commit is contained in:
parent
adf1973948
commit
fc70cedc3e
2 changed files with 10 additions and 1 deletions
|
|
@ -12,6 +12,15 @@
|
||||||
<XSharpRepoRoot>$(RepoRoot)..\XSharp\</XSharpRepoRoot>
|
<XSharpRepoRoot>$(RepoRoot)..\XSharp\</XSharpRepoRoot>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<!--
|
||||||
|
This property sets the suffix for local builds.
|
||||||
|
For example, if the value of this property is '100', the version will be x.y.z-localbuild100.
|
||||||
|
The property is empty by default as it's not really easy to generate a unique number per local build.
|
||||||
|
-->
|
||||||
|
<PackageVersionLocalBuildSuffix></PackageVersionLocalBuildSuffix>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PackageVersion>0.1.0</PackageVersion>
|
<PackageVersion>0.1.0</PackageVersion>
|
||||||
<PackageVersionSuffix Condition="'$(APPVEYOR)' == 'True'">-build$(APPVEYOR_BUILD_NUMBER)+$(APPVEYOR_REPO_COMMIT.Substring(0, 7))</PackageVersionSuffix>
|
<PackageVersionSuffix Condition="'$(APPVEYOR)' == 'True'">-build$(APPVEYOR_BUILD_NUMBER)+$(APPVEYOR_REPO_COMMIT.Substring(0, 7))</PackageVersionSuffix>
|
||||||
|
|
@ -22,7 +31,7 @@
|
||||||
resolved version will be the stable one, i.e. without the
|
resolved version will be the stable one, i.e. without the
|
||||||
-localbuildyyyyMMddhhmmss suffix.
|
-localbuildyyyyMMddhhmmss suffix.
|
||||||
-->
|
-->
|
||||||
<PackageVersionSuffix Condition="'$(PackageVersionSuffix)' == '' AND '$(DesignTimeBuild)' != 'True'">-localbuild$([System.IO.File]::ReadAllText('$(RepoRoot)build\local_build_id.txt'))</PackageVersionSuffix>
|
<PackageVersionSuffix Condition="'$(PackageVersionSuffix)' == '' AND '$(DesignTimeBuild)' != 'True'">-localbuild$(PackageVersionLocalBuildSuffix)</PackageVersionSuffix>
|
||||||
<PackageVersionSuffix Condition="'$(APPVEYOR_REPO_TAG)' == 'True'"></PackageVersionSuffix>
|
<PackageVersionSuffix Condition="'$(APPVEYOR_REPO_TAG)' == 'True'"></PackageVersionSuffix>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue