refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -4,9 +4,9 @@ set -euo pipefail
|
||||
# Build the mac app bundle, then create a zip (Sparkle) + styled DMG (humans).
|
||||
#
|
||||
# Output:
|
||||
# - dist/Clawdbot.app
|
||||
# - dist/Clawdbot-<version>.zip
|
||||
# - dist/Clawdbot-<version>.dmg
|
||||
# - dist/Moltbot.app
|
||||
# - dist/Moltbot-<version>.zip
|
||||
# - dist/Moltbot-<version>.dmg
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
|
||||
@@ -15,16 +15,16 @@ export BUILD_ARCHS="${BUILD_ARCHS:-all}"
|
||||
|
||||
"$ROOT_DIR/scripts/package-mac-app.sh"
|
||||
|
||||
APP="$ROOT_DIR/dist/Clawdbot.app"
|
||||
APP="$ROOT_DIR/dist/Moltbot.app"
|
||||
if [[ ! -d "$APP" ]]; then
|
||||
echo "Error: missing app bundle at $APP" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
VERSION=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" "$APP/Contents/Info.plist" 2>/dev/null || echo "0.0.0")
|
||||
ZIP="$ROOT_DIR/dist/Clawdbot-$VERSION.zip"
|
||||
DMG="$ROOT_DIR/dist/Clawdbot-$VERSION.dmg"
|
||||
NOTARY_ZIP="$ROOT_DIR/dist/Clawdbot-$VERSION.notary.zip"
|
||||
ZIP="$ROOT_DIR/dist/Moltbot-$VERSION.zip"
|
||||
DMG="$ROOT_DIR/dist/Moltbot-$VERSION.dmg"
|
||||
NOTARY_ZIP="$ROOT_DIR/dist/Moltbot-$VERSION.notary.zip"
|
||||
SKIP_NOTARIZE="${SKIP_NOTARIZE:-0}"
|
||||
NOTARIZE=1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user