You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ombi/.azuredevops/pipelines/publish-job.yml

68 lines
1.6 KiB

5 years ago
5 years ago
variables:
- template: templates/variables.yml
stages:
- stage: build_angular
jobs:
- job: Build
pool:
vmImage: ${{ variables.vmImage }}
steps:
- template: templates/build-steps.yml
- stage: publish
5 years ago
- template: templates/publish-os-steps.yml
5 years ago
parameters:
5 years ago
name: 'Win10x64'
5 years ago
Runtime: win10-x64
OutputName: win-64
5 years ago
- template: templates/publish-os-steps.yml
5 years ago
parameters:
5 years ago
name: 'Win10x86'
5 years ago
Runtime: win10-x86
OutputName: win-86
5 years ago
- template: templates/publish-os-steps.yml
5 years ago
parameters:
5 years ago
name: 'OSXx64'
5 years ago
Runtime: osx-x64
OutputName: osx-64
5 years ago
- template: templates/publish-os-steps.yml
5 years ago
parameters:
5 years ago
name: 'Linuxx64'
5 years ago
Runtime: linux-x64
OutputName: linux-64
5 years ago
- template: templates/publish-os-steps.yml
5 years ago
parameters:
5 years ago
name: 'LinuxARM'
5 years ago
Runtime: linux-arm
OutputName: linux-arm
5 years ago
- template: templates/publish-os-steps.yml
5 years ago
parameters:
5 years ago
name: 'LinuxARMx64'
5 years ago
Runtime: linux-arm64
OutputName: linux-arm64
# - task: GitHubRelease@1
# inputs:
# gitHubConnection: 'github.com_tidusjar'
# repositoryName: 'tidusjar/Ombi.Releases'
# action: 'create'
# target: 'c7fcbb77b58aef1076d635a9ef99e4374abc8672'
# tagSource: 'userSpecifiedTag'
# tag: '$(gitTag)'
# releaseNotesSource: 'inline'
# releaseNotesInline: '$(ReleaseNotes)'
# assets: |
# $(Build.ArtifactStagingDirectory)/*.zip
# $(Build.ArtifactStagingDirectory)/*.gz
# isPreRelease: true
# changeLogCompareToRelease: 'lastNonDraftRelease'
# changeLogType: 'commitBased'
# condition: and(succeeded(), eq(variables['PublishToGithub'], 'true'))