File: set-dev-build.yml

package info (click to toggle)
python-azure 20250603%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 851,724 kB
  • sloc: python: 7,362,925; ansic: 804; javascript: 287; makefile: 195; sh: 145; xml: 109
file content (15 lines) | stat: -rw-r--r-- 710 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
parameters:
  ServiceDirectory: ''
  Condition: 'succeededOrFailed()'

steps:
  # this will never call save Save-Package-Properties directly as ServiceDirectory is not present
  # it will however set an indicator for  whether or not we're in a nightly build though.
  # we will handle the Save-Package-Properties call ourselves
  - template: /eng/common/pipelines/templates/steps/daily-dev-build-variable.yml

  - pwsh: |
      python -m pip install "tools/azure-sdk-tools[build]"
      sdk_set_dev_version "*" --build-id="$(Build.BuildNumber)"
    displayName: "Update package versions for dev build"
    condition: and(succeededOrFailed(), eq(variables['SetDevVersion'],'true'), ${{ parameters.Condition }})