mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-13 18:06:50 +01:00
21 lines
520 B
Bash
Executable File
21 lines
520 B
Bash
Executable File
#!/bin/sh
|
|
|
|
rm -rf ~/.build
|
|
mkdir ~/.build
|
|
|
|
rm ~/Desktop/NetNewsWire$1.zip
|
|
rm -rf ~/Desktop/NetNewsWire.app
|
|
|
|
xcodebuild -workspace NetNewsWire.xcworkspace -scheme "NetNewsWire" -derivedDataPath ~/.build -configuration Release
|
|
|
|
ditto /Users/brent/.build/Build/Products/Release/NetNewsWire.app ~/Desktop/NetNewsWire.app
|
|
open ~/Desktop
|
|
|
|
pushd ~/Desktop
|
|
|
|
zip --symlinks -r "NetNewsWire$1.zip" "NetNewsWire.app/"
|
|
zip --symlinks -r "NetNewsWire-latest.zip" "NetNewsWire.app/"
|
|
ditto NetNewsWire$1.zip ~/Archive/Releases/
|
|
|
|
popd
|