Skip to content

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

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#38506
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

Copilot AI review requested due to automatic review settings May 11, 2026 22:25
@azure-sdk azure-sdk requested a review from a team as a code owner May 11, 2026 22:25
@azure-sdk azure-sdk requested a review from JennyPng May 11, 2026 22:25
@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

Syncs eng/common scripts with the upstream azure-sdk-tools changes (PR 14495), primarily enhancing semantic version parsing to better support Python PEP 440 post-release versions and refactoring prerelease-setting logic into a helper method.

Changes:

  • Add Python PEP 440 post-release (.postN) parsing, formatting, sorting, and quick tests in AzureEngSemanticVersion.
  • Refactor prerelease assignment to a new SetPrerelease() helper and update callers.
  • Update changelog and artifact parsing regexes to accept Python post-release formats; reuse AzureEngSemanticVersion in docs upload script.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
eng/common/scripts/SetTestPipelineVersion.ps1 Switches prerelease field assignment to the new SetPrerelease() helper.
eng/common/scripts/SemVer.ps1 Adds Python post-release support, introduces SetPrerelease() and post-release incrementing, updates comparison/sorting logic, and extends quick tests.
eng/common/scripts/copy-docs-to-blobstorage.ps1 Replaces custom semver parsing/sorting with AzureEngSemanticVersion instances and default sorting behavior.
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 regex to accept Python post-release formats.

Comment thread eng/common/scripts/SemVer.ps1
Comment thread eng/common/scripts/SemVer.ps1
@JennyPng JennyPng merged commit 3e77326 into main May 12, 2026
130 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