From 9a39302f8d33f1f9f5f9407324cef6f6059b36b0 Mon Sep 17 00:00:00 2001 From: baozhecheng <> Date: Tue, 7 Jun 2022 21:57:37 +0800 Subject: [PATCH] feat: add tag sh --- tag.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tag.sh diff --git a/tag.sh b/tag.sh new file mode 100644 index 000000000..916abed6f --- /dev/null +++ b/tag.sh @@ -0,0 +1,14 @@ +#!/bin/bash +tag=$1 + +modules=( +"" "cmd/kratos/" "cmd/protoc-gen-errors/" "cmd/protoc-gen-go-http/" +"contrib/config/apollo/" "contrib/config/consul/" "contrib/config/etcd/" "contrib/config/kubernetes/" "contrib/config/nacos/" +"contrib/encoding/magpack/" "contrib/log/aliyun/" "contrib/log/zap/" "contrib/log/fluent/" "contrib/metrics/datadog/" +"contrib/metrics/prometheus/" "contrib/opensergo/" "contrib/registry/consul/" "contrib/registry/discovery/" "contrib/registry/etcd/" +"contrib/registry/eureka/" "contrib/registry/kubernetes/" "contrib/registry/nacos/" "contrib/registry/polaris/" "contrib/registy/zookeeper/" +) + +for(( i=0;i<${#modules[@]};i++)) do + git tag "${modules[i]}${tag}" +done