Skip to content

Commit 68ea438

Browse files
[build] introduce $(PackageVersionSuffix) for dotnet/android (#259)
This allows dotnet/android to add a `-preview.$(PackVersionCommitCount)` suffix for any `.nupkg` packages produced by this repo.
1 parent 975f894 commit 68ea438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<Target Name="SetVersion" BeforeTargets="GetAssemblyVersion;GetPackageVersion;GenerateNuspec" DependsOnTargets="GitVersion">
1111
<PropertyGroup>
1212
<Version>$(GitSemVerMajor).$(GitSemVerMinor).$(GitSemVerPatch)</Version>
13-
<PackageVersion>$(Version)</PackageVersion>
13+
<PackageVersion>$(Version)$(PackageVersionSuffix)</PackageVersion>
1414
<InformationalVersion>$(Version); git-rev-head:$(GitCommit); git-branch:$(GitBranch)</InformationalVersion>
1515
</PropertyGroup>
1616
</Target>

0 commit comments

Comments
 (0)