Skip to content

Fix OS detection in providers release vote script snippet#65116

Merged
jscheffl merged 1 commit intoapache:mainfrom
potiuk:fix-release-providers-os-detection
Apr 13, 2026
Merged

Fix OS detection in providers release vote script snippet#65116
jscheffl merged 1 commit intoapache:mainfrom
potiuk:fix-release-providers-os-detection

Conversation

@potiuk
Copy link
Copy Markdown
Member

@potiuk potiuk commented Apr 13, 2026

The release-vote shell snippet in dev/README_RELEASE_PROVIDERS.md branched on an undefined $OS variable, so the macOS path was never taken. Switch to OSTYPE so date -u -v is actually used on macOS, and rename the placeholder values to TODO: prefixes so they're easier to spot before sending the vote email.


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.6)

Generated-by: Claude Code (Opus 4.6) following the guidelines

Use OSTYPE for macOS detection (the previous $OS variable was
undefined) and replace placeholder values with TODO: prefixes so
they're easier to spot.
@boring-cyborg boring-cyborg bot added area:dev-tools backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch labels Apr 13, 2026
@potiuk potiuk requested review from amoghrajesh and eladkal April 13, 2026 14:01
Copy link
Copy Markdown
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

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

Ha, AI Slop that was not validated as I do not own a (recent) Mac (mine is 15y old...) thanks for the fix!

@jscheffl jscheffl removed the backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch label Apr 13, 2026
@jscheffl jscheffl merged commit c037829 into apache:main Apr 13, 2026
65 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants