diff --git a/.build/tasks/New-Release.GitHub.build.ps1 b/.build/tasks/New-Release.GitHub.build.ps1 index 334b6ae..2fd4ffb 100644 --- a/.build/tasks/New-Release.GitHub.build.ps1 +++ b/.build/tasks/New-Release.GitHub.build.ps1 @@ -178,7 +178,7 @@ task Publish_release_to_GitHub -if ($GitHubToken -and (Get-Module -Name PowerShe } } -task Create_ChangeLog_GitHub_PR -if ($GitHubToken -and (Get-Module -Name PowerShellForGitHub)) { +task Create_ChangeLog_GitHub_PR -if ($GitHubToken -and (Get-Module -Name PowerShellForGitHub -ListAvailable)) { # # This is how AzDO setup the environment: # git init # git remote add origin https://github.com/gaelcolas/Sampler diff --git a/CHANGELOG.md b/CHANGELOG.md index 71434bd..c4da738 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated publish workflow in build.yml to Create GH PR upon release. - Updated the Readme with the icon. - Adding delay after creating release to make sure the tag is available at next git pull. +- Updating when to skip the Create Changelog PR task (adding -ListAvailable). ### Fixed