pack exclude etc/*.local.yml

This commit is contained in:
Ulric Qin 2020-10-09 23:02:02 +08:00
parent c4ad9f1e88
commit c6b9fd181f
1 changed files with 5 additions and 3 deletions

View File

@ -177,9 +177,11 @@ reload()
pack()
{
mkdir -p tarball
mv *.tar.gz tarball
tar zcvf n9e-${version}.tar.gz control sql etc n9e-* --exclude etc/*.local.yml
clock=$(date +%s)
mkdir $clock
mv etc/*.local.yml $clock
tar zcvf n9e-${version}.tar.gz control sql etc n9e-*
mv $clock/* etc/
}
case "$1" in