Fix test for directory
[git-tools-moved-to-github.git] / update-archive / update-archive.sh
index abb8ebc..96bdb6a 100755 (executable)
@@ -77,7 +77,7 @@ if test "$UBUNTU_DIST"; then
 fi
 
 # All distributions we know of
-ALLD="ubuntu/lucid ubuntu/natty ubuntu/oneiric ubuntu/precise ubuntu/quantal ubuntu/raring ubuntu/saucy ubuntu/trusty ubuntu/utopic ubuntu/vivid ubuntu/wily ubuntu/xenial ubuntu/yakkety debian/jessie debian/wheezy debian/squeeze debian/lenny"
+ALLD="ubuntu/lucid ubuntu/natty ubuntu/oneiric ubuntu/precise ubuntu/quantal ubuntu/raring ubuntu/saucy ubuntu/trusty ubuntu/utopic ubuntu/vivid ubuntu/wily ubuntu/xenial ubuntu/yakkety debian/stretch debian/jessie debian/wheezy debian/squeeze debian/lenny"
 
 if test -z "$DISTRIBUTIONS"; then
        DISTRIBUTIONS=$ALLD
@@ -199,7 +199,7 @@ for vdist in $DISTRIBUTIONS ; do
                        mv tmp_Release $r
                fi
                rm -f ${r}.gpg
-               gpg --sign -u "Index Data" -ba -o ${r}.gpg $r
+               gpg -v --sign --cert-digest-algo SHA256 --digest-algo SHA256 -u "Index Data" -ba -o ${r}.gpg $r
        fi
 done
 # Local Variables: