# do some juggling to account for arm/armhf differences in names
BUILDARCH_amd64 = amd64
BUILDARCH_armhf = arm
+BUILDARCH_arm64 = arm64
BUILDARCH = ${BUILDARCH_${DEB_BUILD_ARCH}}
build:
+promtail (2.8.0+internal.0) unstable; urgency=medium
+
+ * New upstream release, 2.8.0
+
+ -- Michael Howe <michael@michaelhowe.org> Mon, 10 Apr 2023 12:08:12 +0100
+
promtail (2.7.4+internal.0) unstable; urgency=medium
* Initial Release.
# eg v2.7.4
VER=$1
-ARCHES=('amd64' 'arm')
+ARCHES=('amd64' 'arm' 'arm64')
mkdir -p extract/
mkdir -p download/
DOWNLOAD_URL="https://github.com/grafana/loki/releases/download/${VER}/promtail-linux-${arch}.zip"
ZIPFILE="download/promtail-linux-${arch}-${VER}.zip"
wget -O "${ZIPFILE}" "${DOWNLOAD_URL}"
- unzip "${ZIPFILE}" -d extract/
+ unzip -o "${ZIPFILE}" -d extract/
done