transmission/macosx/scripts/release_builder.sh

20 lines
726 B
Bash
Executable File

#Transmission OS X Release Builder (Universal)
#/bin/sh
cd ../../
echo STARTING OS X RELEASE BUILDER
echo CLEANING TRANSMISSION
xcodebuild -project Transmission.xcodeproj clean
echo BUILDING TRANSMISSION
xcodebuild -project Transmission.xcodeproj -target Transmission -configuration Release
echo CREATING RELEASE DIRECTORY
rm -rf release
mkdir -p release
echo COPYING TRANSMISSION.APP
cp -R build/Release/Transmission.app ./release/
echo CREATING DMG
#create a BZ2 Compressed DMG
hdiutil create -volname Transmission -srcfolder release/ -format UDBZ -noanyowners -fs HFS+ release/Transmission.dmg
echo MAKING THE DMG INTERNET-ENABLED
hdiutil internet-enable -yes release/Transmission.dmg
cd macosx
echo Release Build Complete!