From d9c32b908479741ba3810f49ca0ac889a3e1c2c0 Mon Sep 17 00:00:00 2001 From: Aurelien Larcher <aurelien.larcher@gmail.com> Date: Mon, 01 Feb 2021 17:51:37 +0100 Subject: [PATCH] component: add update-latest --- make-rules/component.mk | 3 +++ doc/makefile-targets.txt | 3 +++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/doc/makefile-targets.txt b/doc/makefile-targets.txt index 62854e4..f71b10a 100644 --- a/doc/makefile-targets.txt +++ b/doc/makefile-targets.txt @@ -150,3 +150,6 @@ For some supported build style it may peform additional actions like: - infering the latest version if VERSION=latest is passed, - updating the archive checksum. + +update-latest + This target is a convenience shortcut for 'update VERSION=latest'. diff --git a/make-rules/component.mk b/make-rules/component.mk index 6bf7dee..2f4534b 100644 --- a/make-rules/component.mk +++ b/make-rules/component.mk @@ -28,3 +28,6 @@ else $(COMPONENT_TOOL) --path $(COMPONENT_DIR) --bump $(VERSION); \ fi; +update-latest: + $(COMPONENT_TOOL) --path $(COMPONENT_DIR) --bump latest; + -- Gitblit v1.9.3