Skip to content

Commit ead49a7

Browse files
xingtanzjrMyXOF
authored andcommitted
upgrade to 0.3.1 (#39)
* upgrade to 0.3.1
1 parent 35459be commit ead49a7

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
lib/
12
tsfiledb/data/*
23
tsfiledb/derby.log
34
tsfiledb/*.pid

package.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/sh
2+
echo "Package iotdb-jdbc..."
3+
mvn clean package -Dmaven.test.skip=true
4+
5+
if [ -d "./lib/" ]; then
6+
rm -r ./lib/
7+
fi
8+
mkdir ./lib/
9+
10+
echo "Copy denpendency jars to ./lib"
11+
cp ./target/lib/*.jar ./lib/
12+
13+
file_name=`find ./target -name "iotdb-jdbc-?.?.?.jar"`
14+
version=${file_name#*iotdb-jdbc-}
15+
version=${version%.jar}
16+
# 拷贝到lib目录下
17+
echo "Copy latest iotdb-jdbc-jar to ./lib. version is : $version"
18+
cp ./target/iotdb-jdbc-$version.jar ./lib/
19+
20+
echo "Zip all jars..."
21+
# 压缩成一个zip
22+
cd ./lib
23+
zip iotdb-jdbc-$version.zip ./*
24+
echo "Done. see ./lib/iotdb-jdbc-$version.zip"

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>cn.edu.tsinghua</groupId>
55
<artifactId>iotdb-jdbc</artifactId>
6-
<version>0.3.0</version>
6+
<version>0.3.1</version>
77
<packaging>jar</packaging>
88

99
<name>IoTDB Jdbc</name>
@@ -88,7 +88,7 @@
8888
<dependency>
8989
<groupId>cn.edu.tsinghua</groupId>
9090
<artifactId>tsfile</artifactId>
91-
<version>0.3.0</version>
91+
<version>0.3.1</version>
9292
</dependency>
9393
<dependency>
9494
<groupId>junit</groupId>

0 commit comments

Comments
 (0)