Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct version handling
Browse files Browse the repository at this point in the history
franhoey committed Jan 19, 2024
1 parent 954ffcb commit de58aea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.cake
Original file line number Diff line number Diff line change
@@ -17,7 +17,9 @@ const string BuildArtifacts = "./BuildArtifacts";

Setup(context =>
{
packageversion = packageversion.TrimStart('v');
packageversion = packageversion
.Replace("refs/tags/", "")
.TrimStart('v');
Information($"Using version: {packageversion}");
});

0 comments on commit de58aea

Please sign in to comment.