* release.sh: add AdGuardHome/ directory to .tar.gz output file

This commit is contained in:
Simon Zolin 2019-06-05 15:34:40 +03:00
parent 66c670c6ff
commit 6d3099acd3
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ f() {
mkdir -p dist/AdGuardHome mkdir -p dist/AdGuardHome
cp -pv {AdGuardHome,LICENSE.txt,README.md} dist/AdGuardHome/ cp -pv {AdGuardHome,LICENSE.txt,README.md} dist/AdGuardHome/
pushd dist pushd dist
tar zcvf AdGuardHome_"$GOOS"_"$GOARCH".tar.gz AdGuardHome/{AdGuardHome,LICENSE.txt,README.md} tar zcvf AdGuardHome_"$GOOS"_"$GOARCH".tar.gz AdGuardHome/
popd popd
rm -rf dist/AdguardHome rm -rf dist/AdguardHome
fi fi