Skip to content

Sync eng/common directory with azure-sdk-tools for PR 14495#4390

Merged
JennyPng merged 13 commits into
mainfrom
sync-eng/common-semver-postrelease-14495
May 12, 2026
Merged

Sync eng/common directory with azure-sdk-tools for PR 14495#4390
JennyPng merged 13 commits into
mainfrom
sync-eng/common-semver-postrelease-14495

Conversation

@azure-sdk
Copy link
Copy Markdown
Collaborator

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#14495 See eng/common workflow

@azure-sdk azure-sdk requested a review from JennyPng May 11, 2026 22:26
@azure-sdk azure-sdk requested a review from a team as a code owner May 11, 2026 22:26
Copilot AI review requested due to automatic review settings May 11, 2026 22:26
@azure-sdk azure-sdk added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels May 11, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR syncs eng/common scripts with the upstream azure-sdk-tools changes from azure-sdk-tools PR 14495, primarily extending the shared PowerShell SemVer utilities and updating downstream scripts to use the centralized version logic.

Changes:

  • Extend AzureEngSemanticVersion to support Python PEP 440 post-release versions (e.g., .postN) and update sorting/comparison accordingly.
  • Replace ad-hoc prerelease assignment with a new SetPrerelease(...) helper and reuse AzureEngSemanticVersion parsing in docs upload sorting.
  • Update changelog/version-regex parsing helpers to recognize Python post-release versions.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
eng/common/scripts/SetTestPipelineVersion.ps1 Uses AzureEngSemanticVersion.SetPrerelease(...) instead of manually setting prerelease fields.
eng/common/scripts/SemVer.ps1 Adds PEP 440 post-release parsing/sorting and introduces SetPrerelease / post-release increment helpers.
eng/common/scripts/copy-docs-to-blobstorage.ps1 Replaces local semver regex parsing with AzureEngSemanticVersion objects and relies on IComparable sorting.
eng/common/scripts/ChangeLog-Operations.ps1 Adds a Python-aware release title regex and selects it based on Language.
eng/common/scripts/artifact-metadata-parsing.ps1 Updates sdist package/version matching regex to accept Python post-release formats.

Comment thread eng/common/scripts/SemVer.ps1
@JennyPng JennyPng merged commit c3c92ed into main May 12, 2026
21 checks passed
@JennyPng JennyPng deleted the sync-eng/common-semver-postrelease-14495 branch May 12, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants