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.

Conflicts:
	abump.in
parent 5a53fbc9
...@@ -37,12 +37,6 @@ do_bump() { ...@@ -37,12 +37,6 @@ do_bump() {
. "$a" || exit 1 . "$a" || exit 1
[ "$pkgname" = "$name" ] || die "APKBUILD has different \$pkgname for $name" [ "$pkgname" = "$name" ] || die "APKBUILD has different \$pkgname for $name"
type package | grep -q function || die "missing package() 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;;
esac
) || { rc=1; continue; } ) || { rc=1; continue; }
( (
......
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