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
1 changed files with 7 additions and 0 deletions

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