Skip to content

Commit 556107a

Browse files
authored
Merge pull request #2030 from libgit2/package-fixes
Package fixes
2 parents 225e197 + 82c190b commit 556107a

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

CHANGES.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# LibGit2Sharp Changes
22

3+
## v0.27.1 - ([diff](https://github.com/libgit2/libgit2sharp/compare/0.27.0..0.27.1))
4+
5+
### Fixes
6+
- AssemblyVersion of v0.27.0 is `0.0.0.0`, which is lower than the AssemblyVersion of the v0.26.x releases. [#2030](https://github.com/libgit2/libgit2sharp/pull/2030)
7+
38
## v0.27 - ([diff](https://github.com/libgit2/libgit2sharp/compare/v0.26..0.27.0))
49

510
### Changes

LibGit2Sharp/LibGit2Sharp.csproj

+9
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<SignAssembly>true</SignAssembly>
1616
<AssemblyOriginatorKeyFile>..\libgit2sharp.snk</AssemblyOriginatorKeyFile>
1717
<PackageIcon>square-logo.png</PackageIcon>
18+
<PackageReadmeFile>App_Readme/README.md</PackageReadmeFile>
1819
<PackageLicenseFile>App_Readme/LICENSE.md</PackageLicenseFile>
1920
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
2021
<MinVerDefaultPreReleaseIdentifiers>preview.0</MinVerDefaultPreReleaseIdentifiers>
@@ -46,4 +47,12 @@
4647
</PropertyGroup>
4748
</Target>
4849

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+
4958
</Project>

0 commit comments

Comments
 (0)