mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(apple): set new project version on each build (#9072)
When developing the macOS app, we always build the exact same version and build code for each build. ~~This _may_ be one reason why we constantly have to deactivate the extension before the new one will launch.~~ Edit: Just tested, and I can verify that this does fix the issue on dev builds, so no more having to uninstall the sysex between builds. Even if that's not the reason, this is a cleaner approach than building it in our prod-only scripts. --------- Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
This commit is contained in:
@@ -27,14 +27,12 @@ fi
|
||||
|
||||
# Build and sign app
|
||||
echo "Building and signing app..."
|
||||
seconds_since_epoch=$(date +%s)
|
||||
xcodebuild archive \
|
||||
GIT_SHA="$git_sha" \
|
||||
CODE_SIGN_STYLE=Manual \
|
||||
CODE_SIGN_IDENTITY="$code_sign_identity" \
|
||||
APP_PROFILE_ID="$app_profile_id" \
|
||||
NE_PROFILE_ID="$ne_profile_id" \
|
||||
CURRENT_PROJECT_VERSION="$seconds_since_epoch" \
|
||||
-project "$project_file" \
|
||||
-skipMacroValidation \
|
||||
-archivePath "$archive_path" \
|
||||
|
||||
@@ -27,7 +27,6 @@ fi
|
||||
|
||||
# Build and sign
|
||||
echo "Building and signing app..."
|
||||
seconds_since_epoch=$(date +%s)
|
||||
xcodebuild build \
|
||||
GIT_SHA="$git_sha" \
|
||||
CODE_SIGN_STYLE=Manual \
|
||||
@@ -36,7 +35,6 @@ xcodebuild build \
|
||||
APP_PROFILE_ID="$app_profile_id" \
|
||||
NE_PROFILE_ID="$ne_profile_id" \
|
||||
ONLY_ACTIVE_ARCH=NO \
|
||||
CURRENT_PROJECT_VERSION="$seconds_since_epoch" \
|
||||
-project "$project_file" \
|
||||
-skipMacroValidation \
|
||||
-configuration Release \
|
||||
|
||||
@@ -31,7 +31,6 @@ fi
|
||||
|
||||
# Build and sign
|
||||
echo "Building and signing app..."
|
||||
seconds_since_epoch=$(date +%s)
|
||||
xcodebuild build \
|
||||
GIT_SHA="$git_sha" \
|
||||
CODE_SIGN_STYLE=Manual \
|
||||
@@ -43,7 +42,6 @@ xcodebuild build \
|
||||
APP_PROFILE_ID="$app_profile_id" \
|
||||
NE_PROFILE_ID="$ne_profile_id" \
|
||||
ONLY_ACTIVE_ARCH=NO \
|
||||
CURRENT_PROJECT_VERSION="$seconds_since_epoch" \
|
||||
-project "$project_file" \
|
||||
-skipMacroValidation \
|
||||
-configuration Release \
|
||||
|
||||
Reference in New Issue
Block a user