diff --git a/.travis.yml b/.travis.yml index e1ad1140c..17b041f47 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,7 +42,7 @@ deploy: provider: releases file: - "${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 on: tags: true diff --git a/packaging/osx/lbry-osx-app/setup_app.sh b/packaging/osx/lbry-osx-app/setup_app.sh index b8c601522..1403a6d64 100755 --- a/packaging/osx/lbry-osx-app/setup_app.sh +++ b/packaging/osx/lbry-osx-app/setup_app.sh @@ -22,6 +22,8 @@ else cd ${TRAVIS_BUILD_DIR} LBRY=${TRAVIS_BUILD_DIR} fi +NAME=`python setup.py --name` +VERSION=`python setup.py -V` python setup.py install echo "Building URI Handler" @@ -71,3 +73,4 @@ codesign -vvvv "${DEST}/dist/LBRY.app" rm -rf $tmp mv dist/LBRY.app LBRY.app rm -rf dist +hdiutil create "${NAME}.${VERSION}.dmg" -volname lbry -srcfolder LBRY.app