From a10a922c0596ca0e094eb56bf396911014571ce8 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Tue, 8 Aug 2023 07:55:54 -0700 Subject: Makefile: add helper for applying tag Signed-off-by: Robin H. Johnson --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 8fb0e3e..ecd21d6 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,7 @@ all: tag: git tag -s $(shell date +%Y%m%dT%H%M%SZ -u) + +# This is a helper for infra +update-puppet-to-tag: + sed -i -e "/.revision = /s/20.*[0-9]Z/$(shell git tag |grep 20 |tail -n1)/" ../puppet/dist/mirrors/manifests/scripts.pp -- cgit v1.2.3-65-gdbad