Skip to content

Commit

Permalink
Update deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
sumimakito committed Jul 30, 2015
1 parent a9a3761 commit 55d47bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ deploy:
api_key:
secure: UK/XOuxfPNu/WQWncPUHE53vGp1Bp0OwQgpt14ym2rED/enAunLuwfwmBnhVizvbslI/WGAcQkdQRl+S4TC5MvAdRHNma69e32KvmL2+VFZWf9ZviR5oalYEa4T/4jx1e9XsP0bvuNWZZRGN2vEoBDjZ224jEPzoauuZVSLZusw=
file:
- ./library/build/intermediates/bundles/release/QuickKV_${GITHUB_TAG}.jar
- ./library/build/libs/QuickKV_${GITHUB_TAG}_sources.jar
- ./library/build/libs/QuickKV_${GITHUB_TAG}_javadoc.jar
skip_cleanup: true
on:
repo: SumiMakito/QuickKV
Expand Down
11 changes: 5 additions & 6 deletions run-build.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
./gradlew --stacktrace clean build
GITHUB_TAG=Snapshot_${TRAVIS_BRANCH}_Build.${TRAVIS_BUILD_NUMBER}
cwd="`pwd`"
find
#cd ./library/build/intermediates/bundles/release
#sources=`ls | grep sources.jar`
#javadoc=`ls | grep javadoc.jar`
#mv classes.jar QuickKV_${GITHUB_TAG}.jar
#mv ${javadoc} QuickKV_${GITHUB_TAG}_javadoc.jar
cd ./library/build/libs
sources=`ls | grep sources.jar`
javadoc=`ls | grep javadoc.jar`
mv ${sources} QuickKV_${GITHUB_TAG}_sources.jar
mv ${javadoc} QuickKV_${GITHUB_TAG}_javadoc.jar
cd ${cwd}

0 comments on commit 55d47bf

Please sign in to comment.