From 662872f29d16f5c99d0661978745e506cb8be04b Mon Sep 17 00:00:00 2001 From: Raphael Date: Wed, 16 Sep 2026 14:44:23 +0200 Subject: [PATCH] fix: set taurus to prod mode for release --- collector.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/collector.toml b/collector.toml index acfc6af..e1db4db 100644 --- a/collector.toml +++ b/collector.toml @@ -21,7 +21,9 @@ out = "./definitions" # # `modules` lists the modules a source is expected to produce. Polling warns # and skips one that is missing rather than failing, so a module still under -# development doesn't need to be exported every time. +# development doesn't need to be exported every time. It does the same for +# the reverse case: a module the export produced but that isn't listed here +# is warned about and discarded rather than failing the release. [[source]] name = "taurus" @@ -40,6 +42,9 @@ export = [ "export_definitions", "--", ] +# Without this, taurus defaults to development mode and also exports its +# dev-only modules (e.g. taurus-dev), which don't belong in a release. +env = { ENVIRONMENT = "production" } layout = "tree" modules = [ "taurus-boolean",