Skip to content

Commit

Permalink
Change version
Browse files Browse the repository at this point in the history
  • Loading branch information
BorisGerretzen committed Sep 1, 2024
1 parent eb10008 commit e14950a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions GitVersion.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
assembly-versioning-scheme: Major
assembly-versioning-scheme: MajorMinorPatch
assembly-file-versioning-format: '{Major}.{Minor}.{Patch}'
tag-prefix: ''
branches:
main:
regex: ^main$
tag: ''
increment: Patch
ignore:
sha: [ ]
Expand Down
4 changes: 2 additions & 2 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ from framework in project.GetTargetFrameworks()
.SetProject(LibProject)
.SetConfiguration(Configuration)
.SetOutputDirectory(ArtifactsDirectory)
.SetProperty("PackageVersion", PackageVersion ?? GitVersion.NuGetVersionV2)
.SetProperty("PackageVersion", PackageVersion ?? GitVersion.AssemblySemFileVer)
);
});

Expand All @@ -132,7 +132,7 @@ from framework in project.GetTargetFrameworks()
)
);

var version = PackageVersion ?? GitVersion.NuGetVersionV2;
var version = PackageVersion ?? GitVersion.AssemblySemFileVer;

// check if current version is already tagged
if (Git($"tag --list {version}").Count != 0)
Expand Down

0 comments on commit e14950a

Please sign in to comment.