Skip to content

Commit 6da4a94

Browse files
committed
Work CD-CI
- Fix vars in change log generator Signed-off-by: José Simões <jose.simoes@eclo.solutions>
1 parent 1f911af commit 6da4a94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generate-change-log.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ else
1414
if ($env:APPVEYOR_REPO_BRANCH -eq "master" -or $env:APPVEYOR_REPO_BRANCH -match "^release*")
1515
{
1616
# generate change log including future version
17-
bundle exec github_changelog_generator --token $env:GitHubToken --future-release "v$env:NBGV_GitBuildVersion"
17+
bundle exec github_changelog_generator --token $env:GitHubToken --future-release "v$env:NBGV_Version"
1818
}
1919
else
2020
{
@@ -29,7 +29,7 @@ else
2929
if($logDif -ne $null)
3030
{
3131
git add CHANGELOG.md
32-
git commit -m "Update CHANGELOG for v$env:NBGV_NuGetPackageVersion"
32+
git commit -m "Update CHANGELOG for v$env:MyNuGetVersion"
3333
# need to wrap the git command bellow so it doesn't throw an error because of redirecting the output to stderr
3434
git push origin "HEAD:$env:APPVEYOR_REPO_BRANCH" --porcelain | Write-Host
3535
}

0 commit comments

Comments
 (0)