root: fix make gen-diff command (#22548)

This commit is contained in:
Connor Peshek
2026-05-27 05:37:19 -05:00
committed by GitHub
parent 7f31c4cf56
commit aa41ac57e3
2 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -201,8 +201,8 @@ gen-diff: ## (Release) generate the changelog diff between the current schema a
/local/schema-old.yml \ /local/schema-old.yml \
/local/schema.yml /local/schema.yml
rm schema-old.yml rm schema-old.yml
$(SED_INPLACE) 's/{/{/g' diff.md $(SED_INPLACE) 's/{/\{/g' diff.md
$(SED_INPLACE) 's/}/}/g' diff.md $(SED_INPLACE) 's/}/\}/g' diff.md
npx prettier --write diff.md npx prettier --write diff.md
gen-client-go: ## Build and install the authentik API for Golang gen-client-go: ## Build and install the authentik API for Golang
+4 -2
View File
@@ -32,11 +32,13 @@ services:
restart: always restart: always
diff: diff:
image: docker.io/openapitools/openapi-diff:2.1.7 image: docker.io/openapitools/openapi-diff:2.1.7
entrypoint: "/bin/true" # Only run when explicitly invoked (e.g. `make gen-diff`), never on `docker compose up`.
profiles:
- diff
restart: no restart: no
network_mode: none network_mode: none
volumes: volumes:
- ../:/local:ro - ../:/local
volumes: volumes:
db-data: db-data: