Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolayPianikov committed Jul 22, 2024
1 parent 50c0459 commit 1a00c7f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Build/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
var configuration = GetProperty("configuration", "Release");
var apiKey = GetProperty("apiKey", "");
var integrationTests = bool.Parse(GetProperty("integrationTests", CI.ToString()));
var defaultVersion = NuGetVersion.Parse(GetProperty("version", "1.0.0-dev", CI));
var defaultVersion = NuGetVersion.Parse(GetProperty("version", "1.1.0-dev", CI));
var outputDir = Path.Combine(currentDir, "CSharpInteractive", "bin", configuration);
var templateOutputDir = Path.Combine(currentDir, "CSharpInteractive.Templates", "bin", configuration);
var dockerLinuxTests = HasLinuxDocker();
Expand All @@ -33,10 +33,13 @@

var packageVersion = new[]
{
defaultVersion,
GetNextNuGetVersion(new NuGetRestoreSettings(toolPackageId).WithPackageType(NuGetPackageType.Tool), defaultVersion),
GetNextNuGetVersion(new NuGetRestoreSettings(packageId), defaultVersion)
}.Max()!;

Info(packageVersion.ToString());

var packages = new[]
{
new PackageInfo(
Expand Down

0 comments on commit 1a00c7f

Please sign in to comment.