3 Commits

Author SHA1 Message Date
178eb3c308 update workflow
All checks were successful
Build and Publish / release (push) Has been skipped
Build and Publish / check-chart (push) Successful in 11s
Build and Publish / helm-release (push) Has been skipped
2025-07-20 12:09:56 -04:00
97c50966f1 improve rename 2025-07-20 12:03:59 -04:00
8fc97ec058 improve rename 2025-07-20 11:58:55 -04:00
2 changed files with 12 additions and 1 deletions

View File

@ -119,6 +119,12 @@ jobs:
run: |
curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
- name: Fetch Dependencies
run: |
cd helm && \
helm repo add hull https://vidispine.github.io/hull && \
helm dep build
- name: Package Chart
run: |
helm package --app-version ${VERSION} ${CHART_DIR}

View File

@ -79,6 +79,9 @@ 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
@rm contrib/$(CMD_NAME).swagger.json
@find . -type f -a \
\( -name '*.go' -o -name 'go.mod' \
-o -name 'go.sum' -o -name '*.proto' \
@ -87,4 +90,6 @@ 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"
@echo "* NOTE: You will have to run buf generate"