auc: update to 0.3.1

Remove wrongly placed 'break' statement to actually jump to the most
recent version of a release branch.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit fd36c91db8)
This commit is contained in:
Daniel Golle 2022-10-13 19:46:52 +01:00
parent 62a7ef57d4
commit 0f48935aba
No known key found for this signature in database
GPG Key ID: 5A8F39C31C3217CA
2 changed files with 2 additions and 4 deletions

View File

@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=auc
PKG_VERSION:=0.3.0
PKG_VERSION:=0.3.1
PKG_RELEASE:=$(AUTORELEASE)
PKG_LICENSE:=GPL-3.0

View File

@ -1449,10 +1449,8 @@ static struct branch_version *select_branch(char *name, char *select_version)
if (bver->snapshot)
continue;
if (!abver || (openwrt_release_verrevcmp(abver->version, bver->version) < 0)) {
if (!abver || (openwrt_release_verrevcmp(abver->version, bver->version) < 0))
abver = bver;
break;
}
}
}
}