-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Faeture/81 build macos release in ci (#82)
* Building macOS release on work branches * Okey will build mac in the future
- Loading branch information
Showing
6 changed files
with
75 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/sh | ||
|
||
# build_release.sh | ||
# Tasktive | ||
# | ||
# Created by Kamaal M Farah on 15/09/2022. | ||
# | ||
|
||
PROJECT="Tasktive.xcodeproj" | ||
|
||
if [[ ! -n $SCHEME ]] | ||
then | ||
echo $SCHEME | ||
echo "No scheme provided" | ||
exit 1 | ||
fi | ||
|
||
if [[ ! -n $DESTINATION ]] | ||
then | ||
if [[ $SCHEME == "Tasktive" ]] | ||
then | ||
DESTINATION="platform=iOS Simulator,name=iPhone 14 Pro Max" | ||
elif [[ $SCHEME == "TasktiveMac" ]] | ||
then | ||
DESTINATION="platform=macOS" | ||
else | ||
echo "Invalid scheme provided" | ||
exit 1 | ||
fi | ||
fi | ||
|
||
set -o pipefail && xcodebuild -configuration Release -project "$PROJECT" -scheme "$SCHEME" -destination "$DESTINATION" || exit 1 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters