Skip to content

Commit 9f052d1

Browse files
Added presteps support to auto-release template (#48053)
Co-authored-by: Ray Chen <raychen@microsoft.com>
1 parent 812b801 commit 9f052d1

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

eng/common/pipelines/templates/stages/archetype-auto-release-prepare.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ parameters:
99
- name: Condition
1010
type: string
1111
default: succeeded()
12+
# Language-specific steps that run (in the resolve job) before the package-detection script.
13+
# Repos whose Get-AllPackageInfoFromRepo needs tooling set up first (e.g. Python installing
14+
# azure-sdk-tools from an authenticated feed) pass those steps here. Default is none.
15+
- name: PreSteps
16+
type: stepList
17+
default: []
1218

1319
stages:
1420
# Post-merge auto-release preparation, shared across language repos (this file lives in the synced
@@ -44,6 +50,10 @@ stages:
4450

4551
- template: /eng/common/pipelines/templates/steps/login-to-github.yml
4652

53+
# Optional language-specific environment setup (e.g. Python: UsePythonVersion + feed auth so
54+
# the in-script azure-sdk-tools install resolves from an authenticated, reachable feed).
55+
- ${{ parameters.PreSteps }}
56+
4757
- task: PowerShell@2
4858
name: resolve
4959
displayName: Determine releasable packages

0 commit comments

Comments
 (0)