|
|
|
@ -98,3 +98,20 @@ stages:
|
|
|
|
|
isPreRelease: true
|
|
|
|
|
changeLogCompareToRelease: 'lastNonDraftRelease'
|
|
|
|
|
changeLogType: 'commitBased'
|
|
|
|
|
|
|
|
|
|
- task: PowerShell@2
|
|
|
|
|
displayName: "Trigger APT build"
|
|
|
|
|
inputs:
|
|
|
|
|
targetType: 'inline'
|
|
|
|
|
script: |
|
|
|
|
|
$body = @{
|
|
|
|
|
"ref"="master"
|
|
|
|
|
"inputs"= @{"version"= "$(gitTag)"}
|
|
|
|
|
} | ConvertTo-Json
|
|
|
|
|
|
|
|
|
|
$header = @{
|
|
|
|
|
"Accept"="application/vnd.github.v3+json"
|
|
|
|
|
"Authorization"="${env:APTPAT}"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Invoke-RestMethod -Uri "https://api.github.com/repos/Ombi-app/Ombi.Apt/actions/workflows/build-deb.yml/dispatches" -Method 'Post' -Body $body -Headers $header
|