[openwrt/openwrt] rules.mk: add DEPRECATION NOTICE for AUTORELEASE

LEDE Commits lede-commits at lists.infradead.org
Wed Oct 29 13:10:14 PDT 2025


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a0b82434ab92f0f49e4c9fa9c18eb8caf1c212bf

commit a0b82434ab92f0f49e4c9fa9c18eb8caf1c212bf
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Wed Oct 29 12:22:50 2025 +0100

    rules.mk: add DEPRECATION NOTICE for AUTORELEASE
    
    Add DEPRECATION NOTICE for AUTORELEASE to signal that any usage of this
    should be dropped and fixed.
    
    The macro is still defined for legacy reason but we at least dropped any
    usage of it in both main and feeds.
    
    Link: https://github.com/openwrt/openwrt/pull/20586
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 rules.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules.mk b/rules.mk
index 60aab167f0..966367222f 100644
--- a/rules.mk
+++ b/rules.mk
@@ -515,6 +515,7 @@ define commitcount
 $(shell \
   if git log -1 --no-show-signature >/dev/null 2>/dev/null; then \
     if [ -n "$(1)" ]; then \
+      $(call ERROR_MESSAGE,DEPRECATION NOTICE: The use of AUTORELEASE has been deprecated. Fix your Makefile.); \
       last_bump="$$(git log --no-show-signature --pretty=format:'%h %s' . | \
         grep -m 1 -e ': [uU]pdate to ' -e ': [bB]ump to ' | \
         cut -f 1 -d ' ')"; \




More information about the lede-commits mailing list