prevent ml releases without version and use custom freecode submit (archlinux is outdated)

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2014-05-04 10:37:32 +02:00
parent f2459df682
commit d28c374de9

View file

@ -104,6 +104,11 @@ eof
;; ;;
ml-release) ml-release)
if [ $# -ne 1 ]; then
echo "$0 ml-release version" >&2
exit 1
fi
version=$1; shift version=$1; shift
to_a=cdist to_a=cdist
@ -149,7 +154,7 @@ eof
read changelog read changelog
echo "Submitting to freecode ..." echo "Submitting to freecode ..."
python2 $(which freecode-submit) -P cdist \ python2 ~/p/foreign/freecode-submit-2.7/freecode-submit -P cdist \
-v "$version" -c "$changelog" \ -v "$version" -c "$changelog" \
-t "$taglist" -t "$taglist"
;; ;;