Skip to content

Commit 2396c46

Browse files
committed
Allow specifying deb distro/ver via env vars
1 parent b626236 commit 2396c46

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/release-deb.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ set -xeu
55
SCRIPT_PATH=$(realpath "$0")
66
SCRIPT_DIR=$(dirname "$SCRIPT_PATH")
77

8-
DISTRO=$1
9-
DISTROVER=$2
8+
# E.g.: debian, ubuntu
9+
DISTRO=${DISTRO:1}
10+
# E.g.: bullseye, bookwork
11+
DISTROVER=${DISTROVER:2}
1012
CONTAINER_NAME="vdirsyncer-${DISTRO}-${DISTROVER}"
1113
CONTEXT="$(mktemp -d)"
1214

0 commit comments

Comments
 (0)