Skip to content

Commit

Permalink
Fix macOS upload match
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLastProject committed Oct 1, 2018
1 parent acc2311 commit 659fb76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ script:

after_success:
- if [ "$TRAVIS_BRANCH" != "master" ]; then export TRAVIS_EVENT_TYPE=pull_request; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then bash upload.sh Pext.dmg; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then bash upload.sh Pext*.dmg; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then bash upload.sh Pext*.AppImage*; fi

branches:
Expand Down
2 changes: 1 addition & 1 deletion travis/build-dmg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ pushd create-dmg
bash ./create-dmg --volname "Pext $VERSION" --volicon "$OLD_CWD"/pext/images/scalable/pext.icns --window-pos 200 120 --window-size 800 400 --icon-size 100 --icon Pext.app 200 190 --hide-extension Pext.app --app-drop-link 600 185 Pext-$VERSION.dmg "$BUILD_DIR"/

# move dmg to old CWD
mv Pext-*.dmg "$OLD_CWD"/
mv Pext*.dmg "$OLD_CWD"/

0 comments on commit 659fb76

Please sign in to comment.