From 8fc97ec0588a28fda1c7cd6df27ab6b304754381 Mon Sep 17 00:00:00 2001 From: Ryan McGuire Date: Sun, 20 Jul 2025 11:58:55 -0400 Subject: [PATCH] improve rename --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 178e9bc..041038a 100644 --- a/Makefile +++ b/Makefile @@ -79,6 +79,8 @@ rename: @sed -i "s|otelServiceName: .*|otelServiceName: $(APP)|g" helm/values.yaml @sed -i "s|app=.*|app=$(APP)|g" helm/values.yaml @sed -i "s|$(CMD_NAME)|$(APP)|g" README.md + @sed -i "s|$(CMD_NAME)|$(APP)|g" .gitea/workflows/ci.yml + @sed -i "s|$(GIT_REPO)|$(NAME)|g" .gitea/workflows/ci.yml @find . -type f -a \ \( -name '*.go' -o -name 'go.mod' \ -o -name 'go.sum' -o -name '*.proto' \ @@ -87,4 +89,5 @@ rename: \) \ -not -path './.git' -not -path './.git/*' \ -exec sed -i "s|$(GIT_REPO)|$(NAME)|g" {} + - @echo "Project renamed to $(NAME)" + @echo "\n* Project renamed to $(NAME)" + @echo "* NOTE: You will have to update .gitea/workflows/ci.yml"