upgrade 2.1.0

This commit is contained in:
Ulric Qin 2020-05-16 18:46:53 +08:00
parent 7fa09f19de
commit 91d9f3b29f
1 changed files with 7 additions and 3 deletions

10
control
View File

@ -1,7 +1,7 @@
#!/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