Skip to content

Commit

Permalink
fix: remove release notes from pack
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Bühler committed May 9, 2020
1 parent 15328e9 commit b4f6282
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[
"@semantic-release/exec",
{
"prepareCmd": "./build.sh --no-logo --version ${nextRelease.version} --release-notes \"${nextRelease.notes}\" --target Pack"
"prepareCmd": "./build.sh --no-logo --version ${nextRelease.version} --target Pack"
}
]
],
Expand Down
2 changes: 0 additions & 2 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class Build : NukeBuild
public static int Main() => Execute<Build>(x => x.Test);

[Parameter("Version of the nuget package to build.")] readonly string Version = string.Empty;
[Parameter("Release notes to append.")] readonly string ReleaseNotes = string.Empty;

string NugetVersion => Version.StartsWith("v") ? Version.Substring(1) : Version;

Expand Down Expand Up @@ -65,7 +64,6 @@ class Build : NukeBuild
.Executes(() => DotNetPack(s => s
.SetConfiguration(Configuration.Release)
.SetVersion(NugetVersion)
.SetPackageReleaseNotes(ReleaseNotes)
.SetOutputDirectory(ArtifactsDirectory)
.CombineWith(Projects, (ss, proj) => ss
.SetProject(proj))));
Expand Down

0 comments on commit b4f6282

Please sign in to comment.