From 0513270253308d235a3c97c422bbd9f1314714f6 Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Sat, 4 Jan 2025 15:03:14 +0100
Subject: [PATCH] fix: jq

---
 .gitlab-ci.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f5c2eda6b..0e647c6a8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -436,15 +436,15 @@ build_raw_specs:
     - export FEATURES="--features $RUNTIME --no-default-features"
     - echo "FEATURES = $FEATURES"
     - apt-get update
-    - apt-get install -y clang cmake protobuf-compiler jq yq
+    - apt-get install -y clang cmake protobuf-compiler jq
     # Print chainspec to file
     - cargo xtask print-spec $NETWORK_RELEASE > ${RUNTIME}-printed.json
     # Merge client specs into chainspec file (to update bootnodes for example)
     # 1. Download yq to create a json client spec file
-#    - wget https://github.com/mikefarah/yq/releases/download/v4.44.6/yq_linux_arm64 -O yq
-#    - chmod +x ./yq
+    - wget https://github.com/mikefarah/yq/releases/download/v4.44.6/yq_linux_arm64 -O yq
+    - chmod +x ./yq
     # 2. YML -> JSON for the client specs
-    - cat node/specs/${RUNTIME}_client-specs.yaml | yq --output-format json > node/specs/${RUNTIME}_client-specs.json
+    - cat node/specs/${RUNTIME}_client-specs.yaml | ./yq --output-format json > node/specs/${RUNTIME}_client-specs.json
     # 3. Merge the client spec file into chainspec file and create the final spec file (e.g. gdev.json)
     - jq -s '.[0] * .[1]' node/specs/${RUNTIME}_client-specs.json ${RUNTIME}-printed.json > ${RUNTIME}.json
     # Produce raw spec file
-- 
GitLab