Skip to content

Commit 93b9e99

Browse files
committed
Fix error in pushing to chocolatey
1 parent 5d18f16 commit 93b9e99

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

GitVersion.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This copy of GitVersion.yml is used in building the recipe package itself.
2-
next-version: 1.5.0
2+
next-version: 1.6.0
33
mode: ContinuousDelivery
44
branches:
55
main:

recipe/publishing.cake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static class PackageReleaseManager
1515

1616
foreach (var package in BuildSettings.SelectedPackages)
1717
{
18-
var packageName = $"{package.PackageId}.{BuildSettings.PackageVersion}.nupkg";
18+
var packageName = $"{package.PackageId}.{package.PackageVersion}.nupkg";
1919
var packagePath = BuildSettings.PackageDirectory + packageName;
2020
var packageType = package.PackageType;
2121

@@ -35,7 +35,7 @@ public static class PackageReleaseManager
3535
whereToPublish.Add("Chocolatey");
3636

3737
string destinations = string.Join(", ", whereToPublish);
38-
_context.Information($"NoPush option skipping publication of {package.PackageId} to {destinations}");
38+
_context.Information($"NoPush option skipping publication of {packageName} to {destinations}");
3939
continue;
4040
}
4141

0 commit comments

Comments
 (0)