Skip to content

Commit

Permalink
xcodebuile archive
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzhizhou committed Aug 30, 2024
1 parent c538350 commit 890b89f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions client/release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
#-*- coding: utf-8 -*-

scheme=OrzMC
configuration=Release
destination="generic/platform=macOS"
git_repo_dir=$(git rev-parse --show-toplevel)
derived_data_path="$git_repo_dir/DerivedData"
build_dir=$git_repo_dir/build
client_dir=$git_repo_dir/client
cd $client_dir
xcodebuild archive \
-derivedDataPath $derived_data_path \
-archivePath "$build_dir/$scheme" \
-scheme $scheme \
-configuration $configuration \
-destination "$destination" # -dry-run

0 comments on commit 890b89f

Please sign in to comment.