From 605f84f177c91c4e178b75084115a1a67ea7d78b Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Thu, 4 Jun 2015 15:51:12 -0700 Subject: [PATCH] Fix release script to release _both_ .deb files Signed-off-by: Andrew "Tianon" Page Upstream-commit: 4572329d4b1d7b4f9cb638961a299f79443506bb Component: engine --- components/engine/hack/release.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/engine/hack/release.sh b/components/engine/hack/release.sh index 33964075c4..b9cfe94896 100755 --- a/components/engine/hack/release.sh +++ b/components/engine/hack/release.sh @@ -251,9 +251,10 @@ release_ubuntu() { exit 1 } + local debfiles=( "bundles/$VERSION/ubuntu/"*.deb ) + # Sign our packages - dpkg-sig -g "--passphrase $GPG_PASSPHRASE" -k releasedocker \ - --sign builder "bundles/$VERSION/ubuntu/"*.deb + dpkg-sig -g "--passphrase $GPG_PASSPHRASE" -k releasedocker --sign builder "${debfiles[@]}" # Setup the APT repo APTDIR=bundles/$VERSION/ubuntu/apt @@ -266,8 +267,7 @@ Architectures: amd64 i386 EOF # Add the DEB package to the APT repo - DEBFILE=( bundles/$VERSION/ubuntu/lxc-docker*.deb ) - reprepro -b "$APTDIR" includedeb docker "$DEBFILE" + reprepro -b "$APTDIR" includedeb docker "${debfiles[@]}" # Sign for F in $(find $APTDIR -name Release); do