Skip to content

Commit

Permalink
Only publish DotnetDispatcher package
Browse files Browse the repository at this point in the history
  • Loading branch information
psimsa-vista committed May 26, 2024
1 parent 90bc46d commit 28d0a83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Build : NukeBuild
readonly Configuration Configuration = IsLocalBuild ? Configuration.Debug : Configuration.Release;

[LatestNuGetVersion(
"DotnetDispatcher.Core",
"DotnetDispatcher",
IncludePrerelease = false)]
readonly NuGetVersion DotnetDispatcherVersion;

Expand Down Expand Up @@ -96,7 +96,7 @@ class Build : NukeBuild
.Executes(() =>
{
var newMajor = 0;
var newMinor = 4;
var newMinor = 8;
var newPatch = DotnetDispatcherVersion.Patch + 1;
if (newMajor > DotnetDispatcherVersion.Major)
Expand All @@ -119,8 +119,7 @@ class Build : NukeBuild
.SetNoRestore(true)
.SetVersion(newVersion.ToString())
.SetVerbosity(DotNetVerbosity.normal)
.CombineWith(Solution.GetSolutionFolder("src").Projects.Where(_ => _.Name.Contains("DotnetDispatcher")),
(settings, project) => settings.SetProject(project))
.SetProject(Solution.src.DotnetDispatcher)
);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PackageProjectUrl>https://github.com/psimsa/dotnet-dispatcher</PackageProjectUrl>
<RepositoryUrl>https://github.com/psimsa/dotnet-dispatcher</RepositoryUrl>
<Product>$(AssemblyName)</Product>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down

0 comments on commit 28d0a83

Please sign in to comment.