Skip to content

fix(ci): pass the dry-run flag only when it is set in Publish AltStore PAL - #481

Merged
chihchy merged 1 commit into
mainfrom
fix/pal-publish-empty-array
Dec 4, 2026
Merged

chihchy merged 1 commit into
mainfrom
fix/pal-publish-empty-array

Conversation

@chihchy

@chihchy chihchy commented Dec 4, 2026

Copy link
Copy Markdown
Member

The macOS runner's /bin/bash is 3.2, where an empty array expanded as "${dry_run[@]}" under set -u is an unbound variable. The 3.1.0 publish with dry_run off stopped there before the tool ran, so nothing was uploaded or committed. The dry run never hit it because it always passes --dry-run.

The flag now expands only when set, and a new test runs the step in the runner's bash with and without a dry run (it failed with the same error before the fix).

…e PAL

The macOS runner's /bin/bash is 3.2, where "${dry_run[@]}" of an empty array
under set -u is an unbound variable. The 3.1.0 publish with dry_run off stopped
there before the tool ran, so nothing was uploaded or committed. The flag now
expands only when set, and a test runs the step in the runner's bash with and
without a dry run.
@chihchy
chihchy requested a review from a team as a code owner December 4, 2026 11:41
@chihchy
chihchy merged commit 5f12d44 into main Dec 4, 2026
1 of 4 checks passed
@chihchy
chihchy deleted the fix/pal-publish-empty-array branch December 4, 2026 12:09
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