diff --git a/ci-build.yaml b/ci-build.yaml index 409bbcfbe..767bde8e5 100644 --- a/ci-build.yaml +++ b/ci-build.yaml @@ -218,4 +218,5 @@ steps: $(Build.ArtifactStagingDirectory)/*.gz isPreRelease: true changeLogCompareToRelease: 'lastNonDraftRelease' - changeLogType: 'commitBased' \ No newline at end of file + changeLogType: 'commitBased' + condition: and(succeeded(), eq(variables['PublishToGithub'], 'true')) \ No newline at end of file