Skip to content

Commit

Permalink
Fixing incorrect assembly version property. (I'm stuck on macOS today…
Browse files Browse the repository at this point in the history
…, so, yeah.)
  • Loading branch information
joelday committed Oct 4, 2024
1 parent ecc2ca9 commit 5ad7c7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ Task("build-debugger")
{
{ "VersionMajor", new List<string>(){ parsedVersion.Major.ToString() } },
{ "VersionMinor", new List<string>(){ parsedVersion.Minor.ToString() } },
{ "VersionPatch", new List<string>(){ parsedVersion.Patch.ToString() } },
{ "VersionPatch", new List<string>(){ parsedVersion.Revision.ToString() } },
{ "VersionBuild", new List<string>(){ "0" } }
}
});
Expand All @@ -276,7 +276,7 @@ Task("build")
{
var parsedVersion = System.Version.Parse(version);
var assemblyVersion = parsedVersion.Major.ToString() + "." + parsedVersion.Minor.ToString() + "." + parsedVersion.Patch.ToString() + ".0";
var assemblyVersion = parsedVersion.Major.ToString() + "." + parsedVersion.Minor.ToString() + "." + parsedVersion.Revision.ToString() + ".0";
Information("Assembly version: " + assemblyVersion);
// TODO: Do release builds when running CI.
Expand Down

0 comments on commit 5ad7c7b

Please sign in to comment.