td 0.10.99 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,44 +0,0 @@
1
- #!/bin/bash
2
- cd "$(dirname $0)"
3
- chrev="$1"
4
-
5
- if [ -d td-import-java/.git ];then
6
- rm -rf td-import-java/*
7
- cd td-import-java
8
- git checkout . || exit 1
9
- git pull || exit 1
10
- else
11
- rm -rf td-import-java/
12
- git clone git@github.com:treasure-data/td-import-java.git td-import-java || exit 1
13
- cd td-import-java
14
- fi
15
- git checkout master
16
-
17
- if [ -n "$chrev" ];then
18
- git checkout $chrev
19
- fi
20
-
21
- revname="$(git show --pretty=format:'%H %ad' | head -n 1)"
22
- vername="0.4.1-SNAPSHOT"
23
-
24
- mvn package -Dmaven.test.skip=true || exit 1
25
- echo "copy td-import-${vername}.jar"
26
- cp target/td-import-${vername}-jar-with-dependencies.jar ../../java/td-import.jar
27
- echo "copy logging.properties"
28
- cp src/test/resources/java/logging.properties ../../java/logging.properties
29
- echo "create VERSION file"
30
- echo "${vername}" > VERSION
31
- mv VERSION ../../java/VERSION
32
-
33
- if [ -n "$chrev" ];then
34
- git checkout master
35
- fi
36
-
37
- cd ../../
38
-
39
- echo "$revname" > java/td-import-java.version
40
-
41
- echo ""
42
- echo "git commit ./java -m \"updated td-import-java $revname\""
43
- git commit ./java/td-import.jar ./java/td-import-java.version -m "updated td-import-java $revname" || exit 1
44
-
data/java/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.4.1-SNAPSHOT
@@ -1 +0,0 @@
1
- 8e47cdba95d6c1fb237a53dfb304620ed00b168f Wed Nov 20 14:31:40 2013 +0900
data/java/td-import.jar DELETED
Binary file