Sync eng/common directory with azure-sdk-tools for PR 14495#4390
Merged
Conversation
Contributor
There was a problem hiding this comment.
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
AzureEngSemanticVersionto 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 reuseAzureEngSemanticVersionparsing 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. |
JennyPng
approved these changes
May 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#14495 See eng/common workflow