Update publish-job.yml

pull/3985/head
Jamie 4 years ago committed by GitHub
parent 75c0994507
commit 11e4420a36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -63,22 +63,29 @@ stages:
$response = Invoke-WebRequest -Uri "https://ombireleasenote.azurewebsites.net/api/ReleaseNotesFunction?buildId=$(Build.BuildId)" $response = Invoke-WebRequest -Uri "https://ombireleasenote.azurewebsites.net/api/ReleaseNotesFunction?buildId=$(Build.BuildId)"
Write-Host "##vso[task.setvariable variable=ReleaseNotes;]$response" Write-Host "##vso[task.setvariable variable=ReleaseNotes;]$response"
# - task: GitHubRelease@1 - task: GitHubRelease@1
# inputs: displayName: 'Ombi.Releases Release'
# gitHubConnection: 'github.com_tidusjar' inputs:
# repositoryName: 'tidusjar/Ombi' gitHubConnection: 'PAT'
# action: 'create' repositoryName: 'Ombi-app/Ombi.Releases'
# target: '$(Build.SourceVersion)' action: 'create'
# tagSource: 'userSpecifiedTag' target: 'c7fcbb77b58aef1076d635a9ef99e4374abc8672'
# tag: '$(gitTag)' tagSource: 'userSpecifiedTag'
# isDraft: true tag: '$(gitTag)'
# changeLogCompareToRelease: 'lastNonDraftRelease' releaseNotesSource: 'inline'
# changeLogType: 'commitBased' releaseNotesInline: '$(ReleaseNotes)'
assets: |
$(System.ArtifactsDirectory)/**/*.zip
$(System.ArtifactsDirectory)/**/*.tar.gz
isPreRelease: true
changeLogCompareToRelease: 'lastNonDraftRelease'
changeLogType: 'commitBased'
- task: GitHubRelease@1 - task: GitHubRelease@1
displayName: 'Ombi Release'
inputs: inputs:
gitHubConnection: 'PAT' gitHubConnection: 'PAT'
repositoryName: 'Ombi-io/Ombi.Releases' repositoryName: 'Ombi-app/Ombi'
action: 'create' action: 'create'
target: 'c7fcbb77b58aef1076d635a9ef99e4374abc8672' target: 'c7fcbb77b58aef1076d635a9ef99e4374abc8672'
tagSource: 'userSpecifiedTag' tagSource: 'userSpecifiedTag'

Loading…
Cancel
Save