8000 Fix AssemblyVersion and PackageVersion · OctopusDeploy/libgit2sharp@4dc402a · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4dc402a

Browse files
committed
Fix AssemblyVersion and PackageVersion
1 parent 10cd32c commit 4dc402a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

LibGit2Sharp/LibGit2Sharp.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,12 @@
4747
</PropertyGroup>
4848
</Target>
4949

50+
<Target Name="AdjustVersions" AfterTargets="MinVer">
51+
<PropertyGroup>
52+
<AssemblyVersion>$(MinVerMajor).$(MinVerMinor).0.0</AssemblyVersion>
53+
<PackageVersion>$(MinVerMajor).$(MinVerMinor).$(MinVerPatch)</PackageVersion>
54+
<PackageVersion Condition="'$(MinVerPreRelease)' != ''">$(PackageVersion)-$(MinVerPreRelease)</PackageVersion>
55+
</PropertyGroup>
56+
</Target>
57+
5058
</Project>

0 commit comments

Comments
 (0)
0