Commit 5021e13f authored by Natanael Copa's avatar Natanael Copa

Revert "abump: verify APKBUILD's version"

We actually want be able to re-run abump without needing reset the
pkgver in case we had to fix things.

This reverts commit 8198ded8.

parent 5a53fbc9
......@@ -37,12 +37,6 @@ do_bump() {
. "$a" || exit 1
[ "$pkgname" = "$name" ] || die "APKBUILD has different \$pkgname for $name"
type package | grep -q function || die "missing package() for $name"
case $(apk version --test "$pkgver" "$ver") in
'=') die "$pkgname is already at version $pkgver";;
'>') die "$pkgname is already at newer version $pkgver";;
'<') exit 0;;
*) exit 1;;
) || { rc=1; continue; }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment