Visitar URL original
Move to modern setuptools with pyproject.toml by filmor · Pull Request #1793 · pythonnet/pythonnet · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Allow explicitly overriding the version suffix for .NET builds
  • Loading branch information
filmor committed May 23, 2022
commit 34507c17652f1064cdb6fabede1788c1a45b8d09
4 changes: 3 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
<AssemblyProduct>Python.NET</AssemblyProduct>
<LangVersion>10.0</LangVersion>
<IsPackable>false</IsPackable>
<Version>$([System.IO.File]::ReadAllText("version.txt"))</Version>
<FullVersion>$([System.IO.File]::ReadAllText("version.txt"))</FullVersion>
<VersionPrefix>$(FullVersion.Split('-', 2)[0])</VersionPrefix>
Comment thread
lostmsu marked this conversation as resolved.
<VersionSuffix Condition="$(FullVersion.Contains('-'))">$(FullVersion.Split('-', 2)[1])</VersionSuffix>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
Expand Down