Skip to content

Commit

Permalink
Update semantic versioning tags
Browse files Browse the repository at this point in the history
  • Loading branch information
SonnyRR committed Nov 24, 2024
1 parent ffa8408 commit 01ba2d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class Build : NukeBuild
.SetInformationalVersion(GitVersion.InformationalVersion)
.EnableNoRestore());

Log.Information("Current semver: {@Version}", GitVersion.MajorMinorPatch);
Log.Information("Current semver: {@Version}", GitVersion.FullSemVer);
});

[UsedImplicitly]
Expand Down Expand Up @@ -164,7 +164,7 @@ private void PublishImage(string imageName)
.SetSourceImage(imageName)
.SetTargetImage(targetImageName));

var tagWithSemver = targetImageName + '-' + GitVersion.MajorMinorPatch;
var tagWithSemver = targetImageName + '-' + GitVersion.FullSemVer;
DockerTag(s => s
.SetSourceImage(imageName)
.SetTargetImage(tagWithSemver));
Expand Down

0 comments on commit 01ba2d9

Please sign in to comment.