Moved RELEASE_FILE calc
This commit is contained in:
parent
20ca7b2656
commit
fc18f6660c
1 changed files with 2 additions and 3 deletions
|
@ -10,7 +10,6 @@ env:
|
|||
before_install:
|
||||
- chmod +x gradlew
|
||||
before_deploy:
|
||||
- export RELEASE_FILE=$(ls build/libs/*.jar)
|
||||
- echo "deploying ${RELEASE_FILE} to GitHub releases"
|
||||
deploy:
|
||||
provider: releases
|
||||
|
@ -24,5 +23,5 @@ deploy:
|
|||
tags: true
|
||||
jdk: oraclejdk7
|
||||
after_success:
|
||||
- echo "curl --ftp-create-dirs -T ${RELEASE_FILE} -u $FTP_USER:$FTP_PASSWORD ftp://khazaddum.caltech.edu/warpdrive/files/${RELEASE_FILE}.${TRAVIS_BUILD_NUMBER}-${TRAVIS_BRANCH}.jar"
|
||||
"curl --ftp-create-dirs -T ${RELEASE_FILE} -u $FTP_USER:$FTP_PASSWORD ftp://khazaddum.caltech.edu/warpdrive/files/${RELEASE_FILE}.${TRAVIS_BUILD_NUMBER}-${TRAVIS_BRANCH}.jar"
|
||||
- export RELEASE_FILE=$(ls build/libs/*.jar)
|
||||
- "curl --ftp-create-dirs -T ${RELEASE_FILE} --user $FTP_USER:$FTP_PASSWORD ftp://khazaddum.caltech.edu/warpdrive/files/${RELEASE_FILE}.${TRAVIS_BUILD_NUMBER}-${TRAVIS_BRANCH}.jar"
|
||||
|
|
Loading…
Reference in a new issue