Skip to content

Commit

Permalink
proper version
Browse files Browse the repository at this point in the history
  • Loading branch information
BerserkerDotNet committed Nov 20, 2023
1 parent adab34d commit 12d8a69
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Build : NukeBuild

[Solution] readonly Solution Solution;
[GitRepository] readonly GitRepository GitRepository;
[NerdbankGitVersioning] readonly NerdbankGitVersioning GitVersion;
[GitVersion] readonly GitVersion GitVersion;

AbsolutePath SourceDirectory => RootDirectory / "src";
AbsolutePath TestsDirectory => RootDirectory / "tests";
Expand Down Expand Up @@ -64,9 +64,9 @@ class Build : NukeBuild
DotNetBuild(s => s
.SetProjectFile(Solution)
.SetConfiguration(Configuration)
.SetAssemblyVersion(GitVersion.SimpleVersion)
.SetFileVersion(GitVersion.SimpleVersion)
.SetInformationalVersion(GitVersion.SimpleVersion)
.SetAssemblyVersion(GitVersion.AssemblySemVer)
.SetFileVersion(GitVersion.AssemblySemFileVer)
.SetInformationalVersion(GitVersion.InformationalVersion)
.EnableNoRestore());
});

Expand Down
2 changes: 1 addition & 1 deletion build/_build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</ItemGroup>

<ItemGroup>
<PackageDownload Include="nbgv" Version="[3.6.133]" />
<PackageDownload Include="GitVersion.Tool" Version="[5.12.0]" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.0",
"version": "1.0.1",
"publicReleaseRefSpec": [
"^refs/heads/master$",
"^refs/heads/v\\d+(?:\\.\\d+)?$"
Expand Down

0 comments on commit 12d8a69

Please sign in to comment.