Oops
This commit is contained in:
parent
d62e767056
commit
50f019abef
|
@ -1,5 +1,7 @@
|
|||
# 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:
|
||||
os: ''
|
||||
arch: ''
|
||||
|
@ -17,7 +19,7 @@ steps:
|
|||
rm ui.h ${{ parameters.osHeader }}
|
||||
popd
|
||||
displayName: 'Create Artifacts'
|
||||
- {{ if eq(Build.SourceBranchName, "master") }}
|
||||
- {{ if eq(Build.SourceBranchName, "master") }}:
|
||||
- task: GitHubRelease@0
|
||||
inputs:
|
||||
gitHubConnection: andlabs
|
||||
|
|
|
@ -17,7 +17,7 @@ steps:
|
|||
Remove-Item @("ui.h","${{ parameters.osHeader }}")
|
||||
popd
|
||||
displayName: 'Create Artifacts'
|
||||
- {{ if eq(Build.SourceBranchName, "master") }}
|
||||
- {{ if eq(Build.SourceBranchName, "master") }}:
|
||||
- task: GitHubRelease@0
|
||||
condition: eq(Build.SourceBranchName, "master")
|
||||
inputs:
|
||||
|
|
Loading…
Reference in New Issue