Skip to content

fix: resolve setup script crashes#174

Merged
piffio merged 1 commit intopiffio:mainfrom
mfcarroll:install-script
Mar 19, 2026
Merged

fix: resolve setup script crashes#174
piffio merged 1 commit intopiffio:mainfrom
mfcarroll:install-script

Conversation

@mfcarroll
Copy link
Copy Markdown
Contributor

This patch fixes two issues that cause the setup script to fail:

  • Suppressed wrangler update notifications (WRANGLER_LOG="error") in cloudflare.sh to prevent CLI warnings from breaking jq parsing during D1/KV resource lookups.
  • Added bash parameter expansion fallbacks (${VAR:-}) to Polar billing variables in deployment.sh to prevent 'unbound variable' crashes when the script runs in strict mode and the user skips the optional Polar setup.

@piffio piffio self-assigned this Mar 17, 2026
@piffio piffio added the skip-preview Do not deploy to a preview environment label Mar 19, 2026
This patch fixes two issues that cause the setup script to fail:

- Suppressed wrangler update notifications (WRANGLER_LOG="error") in cloudflare.sh to prevent CLI warnings from breaking jq parsing during D1/KV resource lookups.
- Added bash parameter expansion fallbacks (${VAR:-}) to Polar billing variables in deployment.sh to prevent 'unbound variable' crashes when the script runs in strict mode and the user skips the optional Polar setup.
@piffio piffio merged commit 654d878 into piffio:main Mar 19, 2026
4 checks passed
@piffio
Copy link
Copy Markdown
Owner

piffio commented Mar 19, 2026

Thanks @mfcarroll!

@mfcarroll mfcarroll deleted the install-script branch March 26, 2026 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-preview Do not deploy to a preview environment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants