Commit 91e2db6b authored by Natanael Copa's avatar Natanael Copa

abump: die if version is missing

parent f1b0b3de
......@@ -28,6 +28,9 @@ do_bump() {
fi
name=${p%-[0-9]*}
ver=${p#${name}-}
if [ "$name" = "$ver" ]; then
die "version missing for $p"
fi
(
set -e
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment