mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: Update application bundle version
This commit is contained in:
parent
b6702144d1
commit
ac848b4182
1 changed files with 6 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ BUILD_PACK_DIR=/var/tmp/doublecmd-$(date +%y.%m.%d)
|
|||
BUILD_DC_TMP_DIR=/var/tmp/doublecmd-$DC_VER
|
||||
|
||||
# DC revision number
|
||||
DC_REVISION=$(svnversion -n ../)
|
||||
DC_REVISION=$(svnversion ../ | sed -e 's/\([0-9]*\).*/\1/')
|
||||
|
||||
# Export from SVN
|
||||
rm -rf $BUILD_DC_TMP_DIR
|
||||
|
|
@ -51,6 +51,11 @@ cd $BUILD_DC_TMP_DIR
|
|||
# Build all components of Double Commander
|
||||
./build.sh beta
|
||||
|
||||
# Update application bundle version
|
||||
defaults write $(pwd)/doublecmd.app/Contents/Info CFBundleVersion $DC_REVISION
|
||||
defaults write $(pwd)/doublecmd.app/Contents/Info CFBundleShortVersionString $DC_VER
|
||||
plutil -convert xml1 $(pwd)/doublecmd.app/Contents/Info.plist
|
||||
|
||||
# Create *.dmg package
|
||||
mkdir -p $BUILD_PACK_DIR
|
||||
install/darwin/install.sh $BUILD_PACK_DIR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue