Skip to content

Commit

Permalink
Build updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
jp2masa committed Nov 22, 2018
1 parent fc70ced commit 7cbbbe3
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,7 @@
<PropertyGroup>
<PackageVersion>0.1.0</PackageVersion>
<PackageVersionSuffix Condition="'$(APPVEYOR)' == 'True'">-build$(APPVEYOR_BUILD_NUMBER)+$(APPVEYOR_REPO_COMMIT.Substring(0, 7))</PackageVersionSuffix>
<!--
If it's a design-time build, we can't use current time, because it can
cause an infinite restore loop, as the property is always changing.
This means that, for project references in VS (and other IDEs), the
resolved version will be the stable one, i.e. without the
-localbuildyyyyMMddhhmmss suffix.
-->
<PackageVersionSuffix Condition="'$(PackageVersionSuffix)' == '' AND '$(DesignTimeBuild)' != 'True'">-localbuild$(PackageVersionLocalBuildSuffix)</PackageVersionSuffix>
<PackageVersionSuffix Condition="'$(PackageVersionSuffix)' == ''">-localbuild$(PackageVersionLocalBuildSuffix)</PackageVersionSuffix>
<PackageVersionSuffix Condition="'$(APPVEYOR_REPO_TAG)' == 'True'"></PackageVersionSuffix>
</PropertyGroup>

Expand Down

0 comments on commit 7cbbbe3

Please sign in to comment.