Pull request: scripts: imp all

Merge in DNS/adguard-home from imp-sh to master

Squashed commit of the following:

commit d574deae73e5c07e1e9ef43152de8d86b276c623
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Thu Jun 10 20:00:56 2021 +0300

    scripts: imp all
This commit is contained in:
Ainar Garipov
2021-06-10 20:09:00 +03:00
parent 89694763f5
commit e0d89ba267
6 changed files with 44 additions and 59 deletions

View File

@@ -14,9 +14,9 @@ fi
set -e -f -u
# Require these to be set. The channel value is validated later.
channel="$CHANNEL"
commit="$COMMIT"
dist_dir="$DIST_DIR"
channel="${CHANNEL:?please set CHANNEL}"
commit="${COMMIT:?please set COMMIT}"
dist_dir="${DIST_DIR:?please set DIST_DIR}"
readonly channel commit dist_dir
if [ "${VERSION:-}" = 'v0.0.0' ] || [ "${VERSION:-}" = '' ]