Sha256: 521e06716459e17d1877b4fa19560a0ab3a886d1cd19537e126daa86e684c91a
Contents?: true
Size: 1.09 KB
Versions: 2
Compression:
Stored size: 1.09 KB
Contents
#!/bin/bash cd "$(dirname $0)" chrev="$1" if [ -d td-bulk-import-java/.git ];then rm -rf td-bulk-import-java/* cd td-bulk-import-java git checkout . || exit 1 git pull || exit 1 else rm -rf td-bulk-import-java/ git clone git@github.com:treasure-data/td-bulk-import-java.git td-bulk-import-java || exit 1 cd td-bulk-import-java fi git checkout master if [ -n "$chrev" ];then git checkout $chrev fi revname="$(git show --pretty=format:'%H %ad' | head -n 1)" vername="0.2.1" mvn package -Dmaven.test.skip=true || exit 1 echo "copy td-bulk-import-${vername}.jar" cp target/td-bulk-import-${vername}.jar ../../java/td-bulk-import-${vername}.jar echo "copy logging.properties" cp src/test/resources/java/logging.properties ../../java/logging.properties if [ -n "$chrev" ];then git checkout master fi cd ../../ echo "$revname" > java/td-bulk-import-java.version echo "" echo "git commit ./java -m \"updated td-bulk-import-java $revname\"" git commit ./java/td-bulk-import-${vername}.jar ./java/td-bulk-import-java.version -m "updated td-bulk-import-java $revname" || exit 1
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
td-0.10.86 | build/update-td-bulk-import-java.sh |
td-0.10.85 | build/update-td-bulk-import-java.sh |