Skip to content

Commit 34396fe

Browse files
committed
Fix publishing script to avoid setting environment variables.
That way, the produced binaries will still be at the expected location.
1 parent 1cb277e commit 34396fe

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"start:desktop": "pnpm --filter @gitbutler/desktop run preview",
2727
"check": "turbo run check --no-daemon",
2828
"tauri": "cross-env CARGO_TARGET_DIR=$PNPM_SCRIPT_SRC_DIR/target/tauri tauri",
29+
"tauri-for-release": "tauri",
2930
"lint": "turbo run //#globallint --no-daemon",
3031
"globallint": "prettier --check . && eslint .",
3132
"prettier": "prettier --check",

scripts/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ OS="$(os)"
7575
DIST="release"
7676

7777
function tauri() {
78-
(cd "$PWD/.." && pnpm tauri "$@")
78+
(cd "$PWD/.." && pnpm tauri-for-release "$@")
7979
}
8080

8181
while [[ $# -gt 0 ]]; do

0 commit comments

Comments
 (0)