Merge branch 'building-on-stretch' of https://github.com/YunoHost/cd_build into building-on-stretch

This commit is contained in:
root 2018-04-28 21:46:56 +00:00
commit b94fe0960d

View file

@ -71,13 +71,16 @@ function sign
{
local ARCH="$1"
local NAME="images/yunohost-$DEB_DIST-$YNH_VERSION-$ARCH-$DIST.iso"
info "Signing image $NAME ..."
gpg --output $NAME.sig --detach-sig $NAME
# Remove previous signature to prevent gpg to ask about overwriting
rm -f $NAME.sig
sudo gpg --output $NAME.sig --detach-sig $NAME
sha256sum $NAME > $NAME.sum
}
@ -93,7 +96,7 @@ function build_and_sign
function main
{
if [ -z "$ARCH_CHOICE" ]
then
info "No arch chosen, will build both i396 and amd64"