Skip to content

Commit

Permalink
fix ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
holazt committed Apr 28, 2019
1 parent fa7ba06 commit bd81823
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 27 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ install:

script:
- export ROOT_PATH="$(pwd)"
- chmod +x ${ROOT_PATH}/scripts/*.sh
- chmod +x ${ROOT_PATH}/scripts/services/*.sh
- bash pkg2appimage-with-docker netease-cloud-music.yml

after_success:
- cd ${ROOT_PATH}/out
- if [[ "${EXTEN}" == "appimage" ]]; then python3 ${ROOT_PATH}/scripts/services/transferwee.py upload NetEase_Cloud_Music-1.2.0.2.*.AppImage fi
- cp ${ROOT_PATH}/out/*.AppImage ${ROOT_PATH}/scripts/services
- if [[ "${EXTEN}" == "appimage" ]]; then source ${ROOT_PATH}/scripts/appimage_after_success.sh; fi
- echo $TEMP_DOWNLOAD_URL
7 changes: 7 additions & 0 deletions scripts/appimage_after_success.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash --

set -e

cd ${ROOT_PATH}/scripts/services

TEMP_DOWNLOAD_URL=$(python3 transferwee.py upload NetEase_Cloud_Music-1.2.0.2.*.AppImage)
25 changes: 0 additions & 25 deletions scripts/services/wetransfer.com.sh

This file was deleted.

0 comments on commit bd81823

Please sign in to comment.