summaryrefslogtreecommitdiff
path: root/azure-pipelines/templates/release-manifest.yml
blob: 9e8b486d5c41d9f31cbe9a04bc3f4ee4dd1c288a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
parameters:
  IsStableRelease: false

steps:
- task: DownloadBuildArtifacts@0
  displayName: 'Download all bundles'
  inputs:
    downloadType: specific
    itemPattern: 'bundles/*'
    downloadPath: '$(Build.ArtifactStagingDirectory)'
- ${{ if eq(parameters.IsStableRelease, true) }}:
  - script: |
      touch .is_stable
    displayName: 'Mark as stable release'
- script: |
    set -ex
    ./azure-pipelines/manifest.sh ../a/bundles/
    mkdir -p bundles
    mv manifest.yaml bundles/
  displayName: 'Create manifest.yaml'