Skip to content

Commit

Permalink
vpk fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aspriddell committed Nov 5, 2024
1 parent b3c086a commit f2139e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Distribution/VelopackBuildDistributor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ await Program.RunCommand("dotnet", $"tool run vpk upload github"
+ $" --tag=\"{version}\""
+ $" --releaseName=\"{version}\""
+ $" --merge"
+ $" --channel=\"{_channel}\"",
useSolutionPath: false);
+ $" --channel=\"{_channel}\"");
}
}
}
4 changes: 1 addition & 3 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit f2139e2

Please sign in to comment.