mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #13752 from tianon/fix-release-debs
Fix release script to release _both_ .deb files
This commit is contained in:
commit
cd1a1ee972
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue