2017-05-30 01:26:03 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
rm -rf ~/.build
|
|
|
|
mkdir ~/.build
|
|
|
|
|
|
|
|
rm ~/Desktop/Evergreen$1.zip
|
|
|
|
rm -rf ~/Desktop/Evergreen.app
|
|
|
|
|
|
|
|
xcodebuild -workspace Evergreen.xcworkspace -scheme "Evergreen" -derivedDataPath ~/.build -configuration Release
|
|
|
|
|
|
|
|
ditto /Users/brent/.build/Build/Products/Release/Evergreen.app ~/Desktop/Evergreen.app
|
|
|
|
open ~/Desktop
|
|
|
|
|
|
|
|
pushd ~/Desktop
|
|
|
|
|
|
|
|
zip --symlinks -r "Evergreen$1.zip" "Evergreen.app/"
|
2017-12-03 05:35:57 +01:00
|
|
|
zip --symlinks -r "Evergreen-latest.zip" "Evergreen.app/"
|
2017-05-30 01:26:03 +02:00
|
|
|
ditto Evergreen$1.zip ~/Archive/Releases/
|
|
|
|
|
|
|
|
popd
|