From 0e8f1e2d54454de66cce7000202bc37439caa75c Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Sun, 19 Nov 2023 10:43:09 +0100
Subject: [PATCH] test: both see srtool_output and create the output file

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b52ad20e5..9cbb43fd6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -197,7 +197,7 @@ readme_docker_release_tag:
     # Copy sources to the expected directory of srtool
     - cp -R * /build/
     # Build the runtime
-    - /srtool/build --app --json -cM
+    - /srtool/build --app --json -cM | tee -a $SRTOOL_OUTPUT
     - mv /build/runtime/$RUNTIME/target/srtool/release/wbuild/$RUNTIME-runtime/${RUNTIME}_runtime.compact.compressed.wasm $CI_PROJECT_DIR/release/
   artifacts:
     name: "runtime"
-- 
GitLab