Skip to content

Commit

Permalink
ci: deploy is executed twice, ui-release should be in ./dist_app
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Jul 3, 2019
1 parent d506c45 commit 221839c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ script:
- flake8 tests
after_success:
- codecov
before_deploy:
- python setup.py sdist bdist_wheel
- bash ./.travis/${TRAVIS_OS_NAME}_build_app.sh Shape-Out $TRAVIS_TAG
deploy:
Expand Down
6 changes: 3 additions & 3 deletions .travis/osx_build_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ pyinstaller -w -y --distpath="./dist_app" --additional-hooks-dir=".travis" $SCRI
mkdir ui-release
cd ui-release
ln -s /Applications
cd ..
mv ${APP} ui-release/
cd -
mv ${APP} ./dist_app/ui-release/

# create temporary DMG
hdiutil create -srcfolder ui-release/ -volname "${NAMEVERSION}" -fs HFS+ \
hdiutil create -srcfolder ./dist_app/ui-release/ -volname "${NAMEVERSION}" -fs HFS+ \
-fsargs "-c c=64,a=16,e=16" -format UDRW "${TMP}"

# optional: edit the DMG
Expand Down

0 comments on commit 221839c

Please sign in to comment.