Files
tinyobjloader/tools/travis_postbuild.sh
2016-03-12 16:13:04 +09:00

13 lines
250 B
Bash
Executable File

#!/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