Oh, I had to make the connectiona vailable to use on all pipelines.
This commit is contained in:
parent
88a3267cdd
commit
ab58d0053c
|
@ -1,7 +1,5 @@
|
||||||
# 6 april 2019
|
# 6 april 2019
|
||||||
|
|
||||||
# TODO the github task requires authorization for the connection on non-master branches but I can't seem to figure out how to do that with a YAML pipeline
|
|
||||||
|
|
||||||
parameters:
|
parameters:
|
||||||
os: ''
|
os: ''
|
||||||
arch: ''
|
arch: ''
|
||||||
|
@ -19,12 +17,11 @@ steps:
|
||||||
rm ui.h ${{ parameters.osHeader }}
|
rm ui.h ${{ parameters.osHeader }}
|
||||||
popd
|
popd
|
||||||
displayName: 'Create Artifacts'
|
displayName: 'Create Artifacts'
|
||||||
- ${{ if eq(variables['Build.SourceBranchName'], 'master') }}:
|
- task: GitHubRelease@0
|
||||||
- task: GitHubRelease@0
|
inputs:
|
||||||
inputs:
|
gitHubConnection: andlabs
|
||||||
gitHubConnection: andlabs
|
repositoryName: andlabs/libui
|
||||||
repositoryName: andlabs/libui
|
action: 'edit'
|
||||||
action: 'edit'
|
addChangelog: false
|
||||||
addChangelog: false
|
assets: '$(Build.ArtifactStagingDirectory)/*'
|
||||||
assets: '$(Build.ArtifactStagingDirectory)/*'
|
assetUploadMode: 'replace'
|
||||||
assetUploadMode: 'replace'
|
|
||||||
|
|
|
@ -17,12 +17,11 @@ steps:
|
||||||
Remove-Item @("ui.h","${{ parameters.osHeader }}")
|
Remove-Item @("ui.h","${{ parameters.osHeader }}")
|
||||||
popd
|
popd
|
||||||
displayName: 'Create Artifacts'
|
displayName: 'Create Artifacts'
|
||||||
- ${{ if eq(variables['Build.SourceBranchName'], 'master') }}:
|
- task: GitHubRelease@0
|
||||||
- task: GitHubRelease@0
|
inputs:
|
||||||
inputs:
|
gitHubConnection: andlabs
|
||||||
gitHubConnection: andlabs
|
repositoryName: andlabs/libui
|
||||||
repositoryName: andlabs/libui
|
action: 'edit'
|
||||||
action: 'edit'
|
addChangelog: false
|
||||||
addChangelog: false
|
assets: '$(Build.ArtifactStagingDirectory)/*'
|
||||||
assets: '$(Build.ArtifactStagingDirectory)/*'
|
assetUploadMode: 'replace'
|
||||||
assetUploadMode: 'replace'
|
|
||||||
|
|
Loading…
Reference in New Issue