Commit 614dcd37 authored by 赵建伟's avatar 赵建伟

update shells

parent 1769f423
......@@ -4,7 +4,10 @@ set -e
set -x
date_str=`date +"%Y%m%d%H%M%S"`
file="../libs/flink-monitor-1.0-SNAPSHOT.jar"
if [ -f "$file" ]; then
mv ../libs/flink-monitor-1.0-SNAPSHOT.jar ../libs/flink-monitor-1.0-SNAPSHOT.jar.$date_str
fi
cp ../libs/flink-monitor-1.0-SNAPSHOT.jar ../libs/flink-monitor-1.0-SNAPSHOT.jar.$date_str
rm -rf ../libs/flink-monitor-1.0-SNAPSHOT.jar
cp ../target/flink-monitor-1.0-SNAPSHOT.jar ../libs/
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment