aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-04-12 09:34:11 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-04-12 09:34:11 -0400
commit45557383afe19a0a180b3a8568a1d88337dad440 (patch)
tree860bb13dbb6a6018f4d0f5b3870d4777af3ce371 /src/main.c
parent6250351905c60a8880e76d845a014e30b82af954 (diff)
downloadstasis-45557383afe19a0a180b3a8568a1d88337dad440.tar.gz
Expose the output directory to the template engine
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 0ead157..6608299 100644
--- a/src/main.c
+++ b/src/main.c
@@ -282,6 +282,7 @@ int main(int argc, char *argv[]) {
tpl_register("info.build_name", &ctx.info.build_name);
tpl_register("info.build_number", &ctx.info.build_number);
tpl_register("storage.tmpdir", &ctx.storage.tmpdir);
+ tpl_register("storage.output_dir", &ctx.storage.output_dir);
tpl_register("storage.delivery_dir", &ctx.storage.delivery_dir);
tpl_register("storage.conda_artifact_dir", &ctx.storage.conda_artifact_dir);
tpl_register("storage.wheel_artifact_dir", &ctx.storage.wheel_artifact_dir);