source: trunk/macosx/release_builder.sh @ 2951

Last change on this file since 2951 was 2951, checked in by livings124, 15 years ago

patch from persept to add a release build and automate release

  • Property svn:executable set to *
File size: 738 bytes
Line 
1#Transmission OS X Release Builder (Universal)
2#/bin/sh
3cd ../
4echo STARTING OS X RELEASE BUILDER
5echo CLEANING TRANSMISSION
6xcodebuild -project Transmission.xcodeproj clean
7echo BUILDING TRANSMISSION
8xcodebuild -project Transmission.xcodeproj -target Transmission -configuration Release
9rm -rf release
10echo CREATING RELEASE DIR
11mkdir release
12mkdir release/Transmission
13echo COPYING TRANSMISSION.APP
14cp -R macosx/Transmission.app ./release/Transmission/
15echo CREATING DMG
16#create a BZ2 Compressed DMG
17hdiutil create -srcfolder release/Transmission/ -format UDBZ -noanyowners -fs HFS+ release/Transmission.dmg
18echo MAKING THE DMG INTERNET-ENABLED
19hdiutil internet-enable -yes release/Transmission.dmg
20cd macosx
21echo Release Build Complete!
Note: See TracBrowser for help on using the repository browser.