Work CI-CD
Fix condition to publish changelog to github.
***NO_CI***
@@ -661,7 +661,8 @@ jobs:
$auth = "basic $([System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes("nfbot:$(GitHubToken)"))))"
git -c http.extraheader="AUTHORIZATION: $auth" push origin "HEAD:$(Build.SourceBranchName)"
- condition: and( succeeded(), ne(variables['Build.Reason'], 'PullRequest') )
+ condition: and( succeeded(), eq(variables['System.PullRequest.PullRequestId'], ''), not( startsWith(variables['Build.SourceBranch'], 'refs/tags/v') ), eq( variables['StartReleaseCandidate'], false ))
+ continueOnError: true
displayName: Push changelog to GitHub
#######################
