Skip to content

Quote GitHub release arguments - #27888

Merged
AlexWaygood merged 2 commits into
astral-sh:mainfrom
zaniebot:agent/quote-release-arguments
Oct 22, 2026
Merged

AlexWaygood merged 2 commits into
astral-sh:mainfrom
zaniebot:agent/quote-release-arguments

Conversation

@zaniebot

Copy link
Copy Markdown
Contributor

Create GitHub Release leaves the notes-file destination and optional prerelease flag unquoted. Quote the destination and collect the optional flag in a Bash array, preventing word splitting and glob expansion while preserving the omitted argument for stable releases and the single --prerelease argument for prereleases.

Precursor to astral-sh/ruff#27884.

@AlexWaygood
AlexWaygood marked this pull request as ready for review October 22, 2026 19:49
@AlexWaygood
AlexWaygood merged commit b54e827 into astral-sh:main Oct 22, 2026
52 checks passed
@ntBre ntBre added the release Related to the release process (not for changelogs) label Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Related to the release process (not for changelogs)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants