Skip to content

Commit

Permalink
Generate file version, remove Common.props (#813)
Browse files Browse the repository at this point in the history
  • Loading branch information
lahma committed Dec 11, 2020
1 parent 37ae0f8 commit d399250
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 25 deletions.
18 changes: 0 additions & 18 deletions Common.props

This file was deleted.

21 changes: 14 additions & 7 deletions Jint/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,29 +1,36 @@
<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>
<Description>Javascript interpreter for .NET.</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>
<PackageTags>javascript, interpreter, es5, es2015, es6, ecmascript, interop</PackageTags>
<PackageProjectUrl>https://github.com/sebastienros/jint</PackageProjectUrl>
<PackageLicenseExpression>BSD-2-Clause</PackageLicenseExpression>

<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 d399250

Please sign in to comment.