mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-12 09:26:26 +01:00
21 lines
498 B
Bash
Executable File
21 lines
498 B
Bash
Executable File
#!/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/"
|
|
zip --symlinks -r "Evergreen-latest.zip" "Evergreen.app/"
|
|
ditto Evergreen$1.zip ~/Archive/Releases/
|
|
|
|
popd
|