Skip to content

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

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#46832
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 review from JennyPng and Copilot 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 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 PowerShell scripts with the corresponding updates from azure-sdk-tools (PR 14495), primarily enhancing semantic version handling to better support Python (PEP 440) post-release versions and centralizing prerelease/version sorting logic in AzureEngSemanticVersion.

Changes:

  • Extend AzureEngSemanticVersion to parse/sort Python PEP 440 post-release versions (e.g., .postN) and add helper methods like SetPrerelease.
  • Refactor versioning scripts to rely on AzureEngSemanticVersion (instead of bespoke parsing/sorting logic).
  • Update changelog/artifact regex parsing to recognize Python PEP 440 post-release formats.

Reviewed changes

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

Show a summary per file
File Description
eng/common/scripts/SetTestPipelineVersion.ps1 Uses the new SetPrerelease(...) helper to set prerelease versions consistently.
eng/common/scripts/SemVer.ps1 Adds PEP 440 post-release support, new helper methods, and updated comparison/sorting behavior.
eng/common/scripts/copy-docs-to-blobstorage.ps1 Replaces custom SemVer parsing/sorting with AzureEngSemanticVersion.
eng/common/scripts/ChangeLog-Operations.ps1 Switches changelog header parsing regex based on language to allow Python post-release versions.
eng/common/scripts/artifact-metadata-parsing.ps1 Updates sdist filename regex to accept Python post-release versions.

Comment thread eng/common/scripts/SemVer.ps1
Comment thread eng/common/scripts/SemVer.ps1
Comment thread eng/common/scripts/artifact-metadata-parsing.ps1
Comment thread eng/common/scripts/copy-docs-to-blobstorage.ps1
@JennyPng JennyPng merged commit e4450ce into main May 12, 2026
24 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