Skip to content

Commit

Permalink
Fix apk upload from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nning committed Jul 20, 2020
1 parent ce4410e commit a9c9c06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ script:
- ./gradlew lintDebug

after_success:
- mv app/build/outputs/apk/app-debug.apk imgshr-debug-${TRAVIS_COMMIT:0:7}.apk
- curl -k -X POST -F "file=@imgshr-debug-${TRAVIS_COMMIT:0:7}.apk" -F "token=$RELEASE_TOKEN" -F "version=${TRAVIS_COMMIT:0:7}" -F "branch=$TRAVIS_BRANCH" https://imgshr.space/releases
- mv app/build/outputs/apk/debug/app-debug.apk imgshr-debug-${TRAVIS_COMMIT:0:7}.apk
- curl -k -X POST -F "download=@imgshr-debug-${TRAVIS_COMMIT:0:7}.apk" -F "token=$RELEASE_TOKEN" -F "version=${TRAVIS_COMMIT:0:7}" -F "branch=$TRAVIS_BRANCH" https://imgshr.space/releases

0 comments on commit a9c9c06

Please sign in to comment.