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