aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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