Skip to content

Commit

Permalink
1.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
flabbet committed Feb 22, 2023
1 parent ba01d39 commit 1c3cb41
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion src/PixiEditor.Builder/build/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public class BuildContext : FrostingContext

public string OutputDirectory { get; set; } = "Builds";

public bool SelfContained { get; set; } = false;

public string Runtime { get; set; }

public BuildContext(ICakeContext context)
Expand Down Expand Up @@ -58,6 +60,12 @@ public BuildContext(ICakeContext context)
{
OutputDirectory = context.Arguments.GetArgument("o");
}

bool hasSelfContained = context.Arguments.HasArgument("self-contained");
if (hasSelfContained)
{
SelfContained = true;
}

Runtime = context.Arguments.GetArgument("runtime");
}
Expand Down Expand Up @@ -111,7 +119,7 @@ public override void Run(BuildContext context)
var settings = new DotNetPublishSettings()
{
Configuration = context.BuildConfiguration,
SelfContained = false,
SelfContained = context.SelfContained,
Runtime = context.Runtime,
OutputDirectory = context.OutputDirectory,
};
Expand Down
4 changes: 2 additions & 2 deletions src/PixiEditor/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.1.9.9")]
[assembly: AssemblyFileVersion("0.1.9.9")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

0 comments on commit 1c3cb41

Please sign in to comment.