diff mbox series

[meta-networking,4/5] arno-iptables-firewall: Fix upstream version check

Message ID 20261125080732.2419614-5-khem.raj@oss.qualcomm.com
State New
Headers show
Series None | expand

Commit Message

Khem Raj Nov. 25, 2026, 8:06 a.m. UTC
UPSTREAM_CHECK_GITTAGREGEX requires a letter suffix, so plain release
tags such as 2.1.3 are never considered and the check stops at 2.1.2a.
Make the suffix optional and anchor the regex so the whole tag has to
match. The check now reports 2.1.3.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../arno-iptables-firewall/arno-iptables-firewall_2.1.2a.bb     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-networking/recipes-filter/arno-iptables-firewall/arno-iptables-firewall_2.1.2a.bb b/meta-networking/recipes-filter/arno-iptables-firewall/arno-iptables-firewall_2.1.2a.bb
index bd7f7a992e..4a6b601c56 100644
--- a/meta-networking/recipes-filter/arno-iptables-firewall/arno-iptables-firewall_2.1.2a.bb
+++ b/meta-networking/recipes-filter/arno-iptables-firewall/arno-iptables-firewall_2.1.2a.bb
@@ -7,7 +7,7 @@  LIC_FILES_CHKSUM = "file://gpl_license.txt;md5=11c7b65c4a4acb9d5175f7e9bf99c403"
 SRCREV = "4651194df5f985ebfc989da0a20d62b9baecf314"
 SRC_URI = "git://github.com/arno-iptables-firewall/aif;branch=master;protocol=https;tag=${PV}"
 
-UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+(?:[a-z]))"
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+[a-z]?)$"
 
 inherit systemd