Skip to content

Commit 8b308cf

Browse files
committed
Work CD-CI
- Fix package count when updating dependencies Signed-off-by: José Simões <[email protected]>
1 parent b6c706d commit 8b308cf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ for:
117117
- provider: GitHub
118118
tag: v$(MyNuGetVersion)
119119
release: nanoFramework System.Net Library v$(MyNuGetVersion)
120-
description: 'Check the [changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/blob/master/CHANGELOG.md)\n\n## Install from NuGet\n\nThe following NuGet packages are available for download from this release\n\n:package: [.NET](https://www.nuget.org/packages/nanoFramework.System.Net/$(MyNuGetVersion)) v$(MyNuGetVersion)'
120+
description: 'Check the [changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/blob/$(appveyor_repo_branch)/CHANGELOG.md)\n\n## Install from NuGet\n\nThe following NuGet packages are available for download from this release\n\n:package: [.NET](https://www.nuget.org/packages/nanoFramework.System.Net/$(MyNuGetVersion)) v$(MyNuGetVersion)'
121121
auth_token:
122122
secure: DNixoFFE+pGlwyhj7McfZoln42vOmj0iY1iNV9zXEr3y0NpXlOIgL8k5ehzlFM1S
123123
artifact:
@@ -136,7 +136,7 @@ for:
136136
- provider: GitHub
137137
tag: v$(MyNuGetVersion)
138138
release: nanoFramework System.Net Library v$(MyNuGetVersion)
139-
description: 'Check the [changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/blob/$(appveyor_repo_branch)/CHANGELOG.md)\n\n## Install from nanoFramework MyGet development feed\n\nThe following NuGet packages are available for download from this release\n\npackage: [.NET](https://www.myget.org/feed/nanoframework-dev/package/nuget/nanoFramework.System.Net/$(MyNuGetVersion)) v$(MyNuGetVersion)'
139+
description: 'Check the [changelog](https://github.com/nanoframework/lib-nanoFramework.System.Net/blob/$(appveyor_repo_branch)/CHANGELOG.md)\n\n## Install from nanoFramework MyGet development feed\n\nThe following NuGet packages are available for download from this release\n\n:package: [.NET](https://www.myget.org/feed/nanoframework-dev/package/nuget/nanoFramework.System.Net/$(MyNuGetVersion)) v$(MyNuGetVersion)'
140140
auth_token:
141141
secure: DNixoFFE+pGlwyhj7McfZoln42vOmj0iY1iNV9zXEr3y0NpXlOIgL8k5ehzlFM1S
142142
artifact:

update-dependencies.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,12 @@ else
196196
git add -A 2>&1
197197

198198
# commit message with a different title if one or more dependencies are updated
199-
if ($packageCount -gt 1)
199+
if ($packageList.length -gt 1)
200200
{
201-
git commit -m "Update $packageCount NuGet dependencies" -m"$commitMessage" -q
201+
git commit -m "Update $packageList.length NuGet dependencies" -m"$commitMessage" -q
202202

203203
# fix PR title
204-
$prTitle = "Update $packageCount NuGet dependencies"
204+
$prTitle = "Update $packageList.length NuGet dependencies"
205205
}
206206
else
207207
{

0 commit comments

Comments
 (0)