|
@@ -17,6 +17,7 @@ BASE=${bin_abs_path}
|
|
|
if [ "$1" == "base" ] ; then
|
|
|
docker build --no-cache -t canal/osbase $BASE/base
|
|
|
else
|
|
|
+ rm -rf $BASE/canal.*.tar.gz ;
|
|
|
cd $BASE/../ && mvn clean package -Dmaven.test.skip -Denv=release && cd $current_path ;
|
|
|
if [ "$1" == "kafka" ] ; then
|
|
|
cp $BASE/../target/canal-kafka-*.tar.gz $BASE/
|