提交 91d9f3b2 编写于 作者: U Ulric Qin

upgrade 2.1.0

上级 7fa09f19
#!/bin/bash
# release version
version=2.0.0
version=2.1.0
CWD=$(cd $(dirname $0)/; pwd)
cd $CWD
......@@ -190,7 +190,11 @@ reload()
pack()
{
v=$(date +%Y-%m-%d-%H-%M-%S)
v=$1
if [ "x${v}" = "x" ]; then
v=$(date +%Y-%m-%d-%H-%M-%S)
fi
tar zcvf n9e-$v.tar.gz control sql plugin pub etc/log etc/port etc/service etc/nginx.conf etc/mysql.yml etc/address.yml \
n9e-collector etc/collector.yml \
n9e-tsdb etc/tsdb.yml \
......@@ -220,7 +224,7 @@ case "$1" in
reload $2
;;
pack)
pack
pack $2
;;
*)
usage
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册