diff options
author | 2023-08-08 07:55:54 -0700 | |
---|---|---|
committer | 2023-08-08 07:55:54 -0700 | |
commit | a10a922c0596ca0e094eb56bf396911014571ce8 (patch) | |
tree | 6f93f970eb6728f9575a028153b2c910df99b610 | |
parent | *: fix trap calls to ensure call on regular exit and errors (diff) | |
download | mastermirror-scripts-a10a922c0596ca0e094eb56bf396911014571ce8.tar.gz mastermirror-scripts-a10a922c0596ca0e094eb56bf396911014571ce8.tar.bz2 mastermirror-scripts-a10a922c0596ca0e094eb56bf396911014571ce8.zip |
Makefile: add helper for applying tag
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |