Fix release script to release _both_ .deb files

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
This commit is contained in:
Tianon Gravi 2015-06-04 15:51:12 -07:00
Родитель a06e0bb8b4
Коммит 4572329d4b
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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