mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-25 07:45:41 +03:00
activate devtools nightly
This commit is contained in:
parent
fd713a5d67
commit
ab2df215a9
@ -191,8 +191,17 @@ CONFIG_PATH=$(readlink -f "$PWD/../src-tauri/tauri.conf.$CHANNEL.json")
|
|||||||
# update the version in the tauri release config
|
# update the version in the tauri release config
|
||||||
jq '.package.version="'"$VERSION"'"' "$CONFIG_PATH" >"$TMP_DIR/tauri.conf.json"
|
jq '.package.version="'"$VERSION"'"' "$CONFIG_PATH" >"$TMP_DIR/tauri.conf.json"
|
||||||
|
|
||||||
|
|
||||||
|
FEATURES=""
|
||||||
|
|
||||||
|
if [ "$CHANNEL" == "nightly" ]; then
|
||||||
|
FEATURES="$FEATURES devtools"
|
||||||
|
fi
|
||||||
|
|
||||||
# build the app with release config
|
# build the app with release config
|
||||||
SENTRY_RELEASE="$VERSION" tauri build --verbose --config "$TMP_DIR/tauri.conf.json"
|
SENTRY_RELEASE="$VERSION" tauri build \
|
||||||
|
--features "$FEATURES" \
|
||||||
|
--config "$TMP_DIR/tauri.conf.json"
|
||||||
|
|
||||||
BUNDLE_DIR=$(readlink -f "$PWD/../src-tauri/target/release/bundle")
|
BUNDLE_DIR=$(readlink -f "$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")"
|
||||||
|
Loading…
Reference in New Issue
Block a user