Skip to content

fix: strip azure-core_ tag prefix to fix OSE dashboard checkout failure - #8815

Merged
Sapana-Khemkar merged 4 commits into
ppc64le:masterfrom
veenious:fix/azure-core-cpp-ose-prefix-strip
Oct 5, 2026
Merged

Sapana-Khemkar merged 4 commits into
ppc64le:masterfrom
veenious:fix/azure-core-cpp-ose-prefix-strip

Conversation

@veenious

@veenious veenious commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Checklist

  • Have you checked and followed all the points mention in the CONTRIBUTING.MD
  • Have you validated script on UBI 9 container
  • Did you run the script(s) on fresh container with set -e option enabled and observe success ?
  • Did you have Legal approvals for patch files ?

…cripts

The OSE dashboard passes the full git tag (azure-core_1.16.3) as \.
Without this strip the checkout becomes azure-core_azure-core_1.16.3
which does not exist. No-op when PR CI passes the bare version 1.16.3.

Fixes OSE dashboard failure reported in:
https://github.com/ppc64le/build-scripts/actions/runs/36840714886/job/110299193118
…ruction

OSE dashboard passes the full tag (azure-core_1.16.3) as \.
Store the tag directly in PACKAGE_VERSION and use it as-is at
git checkout, instead of storing the bare version and manually
prepending azure-core_ at the checkout line.

Default also updated to azure-core_1.16.3 so no-arg invocation works.
Update # Version header, build_info.json version field and version block
key, PACKAGE_VERSION default, and git checkout line in all 3 UBI scripts
to use the full git tag azure-core_1.16.3 directly.

OSE dashboard passes azure-core_1.16.3 as \ (full git tag).
PR CI reads the # Version header and passes it as \ - now also azure-core_1.16.3.
Both callers pass the same value, git checkout \ resolves correctly.
PEP 440 does not allow azure-core_1.16.3 as a wheel version.
Use \ in the sed substitution so pyproject.toml
gets the bare 1.16.3 while PACKAGE_VERSION stays as the full git tag
azure-core_1.16.3 for the git checkout and log lines.
@Amitkumar282

Copy link
Copy Markdown
Contributor

@Sapana-Khemkar LGTM.

@Sapana-Khemkar
Sapana-Khemkar merged commit 4f89361 into ppc64le:master Oct 5, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants