Add bintray deploy in travis build.
This commit is contained in:
12
tools/travis_postbuild.sh
Executable file
12
tools/travis_postbuild.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
DATEVAL=`date +%b-%d-%Y`
|
||||
VERSIONVAL=master
|
||||
|
||||
# Use tag as version
|
||||
if [ $TRAVIS_TAG ]; then
|
||||
VERSIONVAL=$TRAVIS_TAG
|
||||
fi
|
||||
|
||||
sed -e s%@DATE@%${DATEVAL}% .bintray.in > .bintray.tmp
|
||||
sed -e s%@VERSION@%${VERSIONVAL}% .bintray.tmp > .bintray.json
|
||||
Reference in New Issue
Block a user