mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-08-16 07:40:35 +03:00
do not pushd
This commit is contained in:
parent
64617ad2b0
commit
d9738b3906
@ -77,12 +77,10 @@ function arch() {
|
||||
|
||||
ARCH="$(arch)"
|
||||
OS="$(os)"
|
||||
DIST="release/$OS/$ARCH"
|
||||
DIST="release"
|
||||
|
||||
function tauri() {
|
||||
pushd "$PWD/.." >/dev/null
|
||||
pnpm tauri "$@"
|
||||
popd >/dev/null
|
||||
(cd "$PWD/.." && pnpm tauri "$@")
|
||||
}
|
||||
|
||||
while [[ $# -gt 0 ]]; do
|
||||
@ -183,7 +181,7 @@ jq '.package.version="'"$VERSION"'"' "$PWD/../src-tauri/tauri.conf.json" >"$TMP_
|
||||
# build the app
|
||||
tauri build --config "$TMP_DIR/tauri.conf.json"
|
||||
|
||||
BUNDLE_DIR="./src-tauri/target/release/bundle"
|
||||
BUNDLE_DIR="$PWD/../src-tauri/target/release/bundle"
|
||||
MACOS_DMG="$(find "$BUNDLE_DIR/dmg" -depth 1 -type f -name "*.dmg")"
|
||||
MACOS_UPDATER="$(find "$BUNDLE_DIR/macos" -depth 1 -type f -name "*.tar.gz")"
|
||||
MACOS_UPDATER_SIG="$(find "$BUNDLE_DIR/macos" -depth 1 -type f -name "*.tar.gz.sig")"
|
||||
|
Loading…
Reference in New Issue
Block a user