From 4816aec32f4eecf8eca7ca46e244c047d3fa6743 Mon Sep 17 00:00:00 2001 From: Sylvia Crowe Date: Mon, 3 Feb 2025 14:37:02 -0800 Subject: [PATCH 1/2] fix: schema build process ignore rmrf error In prod builds, the RMRF step of build:schema is breaking the build. This ignores the error produced to avoid that. --- Taskfile.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/Taskfile.yml b/Taskfile.yml index 7be83f6c4f..165b290148 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -124,6 +124,7 @@ tasks: cmds: - go run cmd/generateschema/main-generateschema.go - '{{.RMRF}} "dist/schema"' + ignore_error: true - task: copyfiles:'schema':'dist/schema' build:server: From 263a6238247442b9e9e9142ba33508912a5fdc1f Mon Sep 17 00:00:00 2001 From: Sylvia Crowe Date: Mon, 3 Feb 2025 14:42:57 -0800 Subject: [PATCH 2/2] fix: add cmd so ignore_error can apply --- Taskfile.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Taskfile.yml b/Taskfile.yml index 165b290148..469d23c094 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -123,7 +123,7 @@ tasks: - "dist/schema/**/*" cmds: - go run cmd/generateschema/main-generateschema.go - - '{{.RMRF}} "dist/schema"' + - cmd: '{{.RMRF}} "dist/schema"' ignore_error: true - task: copyfiles:'schema':'dist/schema'