From f2139e22e47053ff08238925ae8b36f6dba88abf Mon Sep 17 00:00:00 2001 From: Albie Spriddell Date: Tue, 5 Nov 2024 11:37:36 +0000 Subject: [PATCH] vpk fix --- Distribution/VelopackBuildDistributor.cs | 3 +-- Program.cs | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Distribution/VelopackBuildDistributor.cs b/Distribution/VelopackBuildDistributor.cs index 5c4bf95..710194b 100644 --- a/Distribution/VelopackBuildDistributor.cs +++ b/Distribution/VelopackBuildDistributor.cs @@ -66,8 +66,7 @@ await Program.RunCommand("dotnet", $"tool run vpk upload github" + $" --tag=\"{version}\"" + $" --releaseName=\"{version}\"" + $" --merge" - + $" --channel=\"{_channel}\"", - useSolutionPath: false); + + $" --channel=\"{_channel}\""); } } } \ No newline at end of file diff --git a/Program.cs b/Program.cs index 55c810c..e2c4cdc 100644 --- a/Program.cs +++ b/Program.cs @@ -53,8 +53,6 @@ static Program() .AddXmlFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)!, "oniondeploy.xml"), optional: true) .AddEnvironmentVariables("ONIONDEPLOY_") .Build(); - - Log.Information("OnionFruit Deploy v{version}", Assembly.GetExecutingAssembly().GetName().Version!.ToString(3)); } public static async Task Main(string[] args) @@ -85,7 +83,7 @@ public static async Task Main(string[] args) FindSolutionPath(Path.GetDirectoryName(fullProjectDir)!); var version = GetArg(2) ?? await GetVersionFromPublicReleasesAsync(); - Log.Information("Building version {version}", version); + Log.Information("OnionFruit Deploy v{version:l} building {appVersion:l}", Assembly.GetExecutingAssembly().GetName().Version!.ToString(3), version); ProgramBuilder builder;