Change release condition

This commit is contained in:
Joseph Donofry 2019-05-18 16:01:30 -04:00
parent d8842b1e13
commit 758c1678f7
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB

View file

@ -36,7 +36,7 @@ steps:
ARTIFACT_STAGING_DIRECTORY: $(Build.ArtifactStagingDirectory)) ARTIFACT_STAGING_DIRECTORY: $(Build.ArtifactStagingDirectory))
# delete the release if it already exists to avoid an error # delete the release if it already exists to avoid an error
- task: GitHubRelease@0 - task: GitHubRelease@0
condition: and(succeeded(), eq(variables['buildSuccess'], 'true') ) condition: succeeded(), eq(variables['buildSuccess'], 'true')
continueOnError: true continueOnError: true
inputs: inputs:
gitHubConnection: nheko-reborn-pipeline gitHubConnection: nheko-reborn-pipeline
@ -55,7 +55,7 @@ steps:
#isPreRelease: true # Optional #isPreRelease: true # Optional
#addChangeLog: true # Optional #addChangeLog: true # Optional
- task: GitHubRelease@0 - task: GitHubRelease@0
condition: and(succeeded(), eq(variables['buildSuccess'], 'true') ) condition: eq(variables['buildSuccess'], 'true')
continueOnError: true continueOnError: true
inputs: inputs:
gitHubConnection: nheko-reborn-pipeline gitHubConnection: nheko-reborn-pipeline