Skip to content

Make the smoke script run under macOS's bash 3.2 - #153

Merged
rochala merged 1 commit into
mainfrom
smoke-macos-bash
Aug 25, 2026
Merged

Make the smoke script run under macOS's bash 3.2#153
rochala merged 1 commit into
mainfrom
smoke-macos-bash

Conversation

@rochala

@rochala rochala commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Both macOS smoke legs of the release run (https://github.com/VirtusLab/cellar/actions/runs/32853495291) failed on the first get-external with REPO[@]: unbound variable. macOS ships bash 3.2, where expanding an empty array under set -u is an error (bash 4.4+ allows it, which is why the Linux legs passed). The repository flag is now a plain string expanded unquoted — a file:// URL has no whitespace to protect.

The gate itself worked as intended: publish-maven and Publish Release were skipped.

Verified locally against a native build in Maven Central mode; no arrays remain in the script.

🤖 Generated with Claude Code

Expanding an empty array with set -u is an unbound-variable error there,
which failed both macOS smoke legs on the first get-external.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@rochala
rochala merged commit 24b6afc into main Aug 25, 2026
8 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.

1 participant