mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 03:18:49 +03:00
Make GitHub release only happen on successful build
This commit is contained in:
parent
26b180e07a
commit
17004f014e
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,7 @@ steps:
|
||||||
./.ci/script.sh
|
./.ci/script.sh
|
||||||
sed -i -e "s/VERSION_NAME_VALUE/${VERSION}/g" ./.ci/bintray-release.json || true
|
sed -i -e "s/VERSION_NAME_VALUE/${VERSION}/g" ./.ci/bintray-release.json || true
|
||||||
cp ./.ci/bintray-release.json .
|
cp ./.ci/bintray-release.json .
|
||||||
|
failOnStderr: 'true'
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
inputs:
|
inputs:
|
||||||
#sourceFolder: # Optional
|
#sourceFolder: # Optional
|
||||||
|
@ -23,6 +24,7 @@ steps:
|
||||||
#overWrite: false # Optional
|
#overWrite: false # Optional
|
||||||
#flattenFolders: false # Optional
|
#flattenFolders: false # Optional
|
||||||
- task: GitHubRelease@0
|
- task: GitHubRelease@0
|
||||||
|
condition: succeeded()
|
||||||
inputs:
|
inputs:
|
||||||
gitHubConnection: nheko-reborn-pipeline
|
gitHubConnection: nheko-reborn-pipeline
|
||||||
repositoryName: '$(Build.Repository.Name)'
|
repositoryName: '$(Build.Repository.Name)'
|
||||||
|
|
Loading…
Reference in a new issue