auc: update to 0.3.1
authorDaniel Golle <daniel@makrotopia.org>
Thu, 13 Oct 2022 18:46:52 +0000 (19:46 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 13 Oct 2022 18:48:05 +0000 (19:48 +0100)
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>
utils/auc/Makefile
utils/auc/src/auc.c

index de5c8fd0edb7945ffc9b28b8950f403c6688c340..7bd296e5b342fdf5734c759f0a1b3f961ffae7a4 100644 (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
 
index 0f71c43149bc80a25ef7f9cd5c08dc1fbcd83f54..711ca812c9a15c5e1aff94814c8e984cc65ca287 100644 (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;
-                                               }
                                        }
                                }
                        }