Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eaba committed May 1, 2023
1 parent 2f16d10 commit 8e7b882
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ partial class Build : NukeBuild

GitHubClient GitHubClient;
public ChangeLog Changelog => MdHelper.ReadChangelog(ChangelogFile);
string TagVersion => GitRepository.Tags.SingleOrDefault()?[2..];
string TagVersion => GitVersion.MajorMinorPatch;

bool IsTaggedBuild => !string.IsNullOrWhiteSpace(TagVersion);

Expand Down Expand Up @@ -272,9 +272,10 @@ void CoreTest(string projectName)
.EnableNoRestore()
//.SetIncludeSymbols(true)
.SetAssemblyVersion(TagVersion)
.SetVersion(TagVersion)
.SetFileVersion(TagVersion)
.SetInformationalVersion(TagVersion)
.SetVersionSuffix(VersionSuffix)
//.SetVersionSuffix(TagVersion)
.SetPackageReleaseNotes(releaseNotes)
.SetDescription("SharpPulsar is Apache Pulsar Client built using Akka.net")
.SetPackageTags("Apache Pulsar", "Akka.Net", "Event Driven", "Event Sourcing", "Distributed System", "Microservice")
Expand Down

0 comments on commit 8e7b882

Please sign in to comment.