build dmg from LBRY.app

This commit is contained in:
Job Evers-Meltzer 2016-06-21 00:19:40 -05:00
parent 4c2b3e157c
commit cdb311a501
2 changed files with 4 additions and 1 deletions

View file

@ -42,7 +42,7 @@ deploy:
provider: releases provider: releases
file: file:
- "${TRAVIS_BUILD_DIR}/`python setup.py --name`_`python setup.py -V`_amd64.deb" - "${TRAVIS_BUILD_DIR}/`python setup.py --name`_`python setup.py -V`_amd64.deb"
- "${TRAVIS_BUILD_DIR}/packaging/osx/lbry-osx-app/LBRY.app" - "${TRAVIS_BUILD_DIR}/packaging/osx/lbry-osx-app/`python setup.py --name`.`python setup.py -V`.dmg"
skip_cleanup: true skip_cleanup: true
on: on:
tags: true tags: true

View file

@ -22,6 +22,8 @@ else
cd ${TRAVIS_BUILD_DIR} cd ${TRAVIS_BUILD_DIR}
LBRY=${TRAVIS_BUILD_DIR} LBRY=${TRAVIS_BUILD_DIR}
fi fi
NAME=`python setup.py --name`
VERSION=`python setup.py -V`
python setup.py install python setup.py install
echo "Building URI Handler" echo "Building URI Handler"
@ -71,3 +73,4 @@ codesign -vvvv "${DEST}/dist/LBRY.app"
rm -rf $tmp rm -rf $tmp
mv dist/LBRY.app LBRY.app mv dist/LBRY.app LBRY.app
rm -rf dist rm -rf dist
hdiutil create "${NAME}.${VERSION}.dmg" -volname lbry -srcfolder LBRY.app