Skip to content

Commit

Permalink
Use correct nuget version in NSwag.ApiDescription.Client, #4524
Browse files Browse the repository at this point in the history
  • Loading branch information
Rico Suter committed Sep 27, 2023
1 parent b66a67b commit 06f635a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/Build.Pack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public partial class Build

var apiDescriptionClientNuSpec = SourceDirectory / "NSwag.ApiDescription.Client" / "NSwag.ApiDescription.Client.nuspec";
var content = TextTasks.ReadAllText(apiDescriptionClientNuSpec);
content = content.Replace("<dependency id=\"NSwag.MSBuild\" version=\"1.0.0\" />", "<dependency id=\"NSwag.MSBuild\" version=\"" + VersionPrefix + "\" />");
content = content.Replace("<dependency id=\"NSwag.MSBuild\" version=\"1.0.0\" />", "<dependency id=\"NSwag.MSBuild\" version=\"" + nugetVersion + "\" />");
TextTasks.WriteAllText(apiDescriptionClientNuSpec, content);

var nuspecs = new[]
Expand Down

0 comments on commit 06f635a

Please sign in to comment.