1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #21708 from tianon/InRelease

Also generate "InRelease" files for newer APT clients
This commit is contained in:
Tibor Vass 2016-05-11 13:21:15 -04:00
commit e421668b1b

View file

@ -32,6 +32,13 @@ sign_packages(){
--batch --yes \
--output "$F.gpg" "$F"
fi
inRelease="$(dirname "$F")/InRelease"
if test "$F" -nt "$inRelease" ; then
gpg -u "$GPG_KEYID" --passphrase "$GPG_PASSPHRASE" \
--clearsign \
--batch --yes \
--output "$inRelease" "$F"
fi
done
fi