Skip to content

Commit

Permalink
Generate file version, remove Common.props
Browse files Browse the repository at this point in the history
  • Loading branch information
lahma committed Dec 9, 2020
1 parent caf8ff8 commit f842c74
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 23 deletions.
18 changes: 0 additions & 18 deletions Common.props

This file was deleted.

17 changes: 12 additions & 5 deletions Jint/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<PropertyGroup>

<Copyright>Sebastien Ros</Copyright>
<Authors>Sebastien Ros</Authors>

<PackageId>Jint</PackageId>
<AssemblyTitle>Jint</AssemblyTitle>
<Description>Javascript interpreter for .NET which provides full ECMA 5.1 compliance.</Description>

<BuildNumber Condition="'$(BuildNumber)' == ''">0</BuildNumber>
<VersionPrefix>3.0.0-beta-$(BuildNumber)</VersionPrefix>
<VersionSuffix></VersionSuffix>
<VersionPrefix>3.0.0</VersionPrefix>
<VersionSuffix>beta-$(BuildNumber)</VersionSuffix>
<FileVersion>$(VersionPrefix).$(BuildNumber)</FileVersion>

<PackageId>Jint</PackageId>
<PackageTags>javascript, interpreter</PackageTags>
<PackageProjectUrl>https://github.com/sebastienros/jint</PackageProjectUrl>
Expand All @@ -15,15 +22,15 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<DebugType>portable</DebugType>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

</PropertyGroup>

<ItemGroup Condition="'$(SourceLinkEnabled)' != 'false'">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>

<!-- Called after so that the <VersionSuffix> is built after the local ones -->
<Import Project="../Common.props"/>

</Project>

0 comments on commit f842c74

Please sign in to comment.