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