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"