Skip to content

Commit 31de18f

Browse files
authored
Merge pull request #10552 from Byron/fix
Fix publishing script to avoid setting environment variables.
2 parents fbfeda6 + 34396fe commit 31de18f

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)