Skip to content

Commit 435b306

Browse files
Vrtak-CZclaude
andcommitted
fix(scripts): pass VERSION env var to bun subprocess in build-release
The bun -e inline script reads process.env.VERSION but it was not explicitly passed through the environment. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c99ec04 commit 435b306

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/build-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ trap cleanup EXIT
8080
# --- Set version in package.json ---
8181
echo "Setting version to $VERSION in package.json..."
8282
cd "$PROJECT_DIR"
83-
bun -e "
83+
VERSION="$VERSION" bun -e "
8484
const pkg = await Bun.file('package.json').json();
8585
pkg.version = process.env.VERSION;
8686
await Bun.write('package.json', JSON.stringify(pkg, null, 2) + '\n');

0 commit comments

Comments
 (0)