release.sh -- Place the targz into dist subdir

This commit is contained in:
Eugene Bujak 2019-02-12 21:31:42 +03:00 committed by Eugene Bujak
parent 110434c2d5
commit e2956cae82

View file

@ -16,7 +16,7 @@ f() {
zip dist/AdGuardHome_"$version"_Windows.zip AdGuardHome.exe README.md LICENSE.txt
else
pushd ..
tar zcvf AdGuardHome_"$version"_"$GOOS"_"$GOARCH".tar.gz AdGuardHome/{AdGuardHome,LICENSE.txt,README.md}
tar zcvf AdGuardHome/dist/AdGuardHome_"$version"_"$GOOS"_"$GOARCH".tar.gz AdGuardHome/{AdGuardHome,LICENSE.txt,README.md}
popd
fi
}