mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-17 19:09:11 +03:00
root: fix make gen-diff command (#22548)
This commit is contained in:
@@ -201,8 +201,8 @@ gen-diff: ## (Release) generate the changelog diff between the current schema a
|
||||
/local/schema-old.yml \
|
||||
/local/schema.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
|
||||
|
||||
gen-client-go: ## Build and install the authentik API for Golang
|
||||
|
||||
+4
-2
@@ -32,11 +32,13 @@ services:
|
||||
restart: always
|
||||
diff:
|
||||
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
|
||||
network_mode: none
|
||||
volumes:
|
||||
- ../:/local:ro
|
||||
- ../:/local
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
|
||||
Reference in New Issue
Block a user