From 74d2806cc13a6e84e79b50eb97e464442fa1cbad Mon Sep 17 00:00:00 2001 From: Matt Keeler Date: Mon, 18 Jun 2018 10:26:04 -0400 Subject: [PATCH] Use CONSUL_PKG_NAME in package_release --- build-support/functions/30-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-support/functions/30-release.sh b/build-support/functions/30-release.sh index edf783a6c..93c8f99f8 100644 --- a/build-support/functions/30-release.sh +++ b/build-support/functions/30-release.sh @@ -98,10 +98,10 @@ function package_release { for platform in $(find "${sdir}/pkg/bin" -mindepth 1 -maxdepth 1 -type d) do local os_arch=$(basename $platform) - local dest="${sdir}/pkg/dist/consul_${vers}_${os_arch}.zip" + local dest="${sdir}/pkg/dist/${CONSUL_PKG_NAME}_${vers}_${os_arch}.zip" status "Compressing ${os_arch} directory into ${dest}" pushd "${platform}" > /dev/null - zip "${sdir}/pkg/dist/consul_${vers}_${os_arch}.zip" ./* + zip "${sdir}/pkg/dist/${CONSUL_PKG_NAME}_${vers}_${os_arch}.zip" ./* ret=$? popd > /dev/null