Skip to content

Commit

Permalink
upgrade 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
UlricQin committed May 16, 2020
1 parent 7fa09f1 commit 91d9f3b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions control
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# release version
version=2.0.0
version=2.1.0

CWD=$(cd $(dirname $0)/; pwd)
cd $CWD
Expand Down Expand Up @@ -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 \
Expand Down Expand Up @@ -220,7 +224,7 @@ case "$1" in
reload $2
;;
pack)
pack
pack $2
;;
*)
usage
Expand Down

0 comments on commit 91d9f3b

Please sign in to comment.