From f3a451216628661ec537bbed1365e7d4eeea6e44 Mon Sep 17 00:00:00 2001
From: Robert Helgesson <robert@rycee.net>
Date: Sun, 26 May 2024 01:25:03 +0200
Subject: [PATCH] ci: fix manual build in sourcehut build

(cherry picked from commit e4611630c3cc8ed618b48d92f6291f65be9f7913)
---
 .builds/manual.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.builds/manual.yml b/.builds/manual.yml
index af257412c..4072e5a4d 100644
--- a/.builds/manual.yml
+++ b/.builds/manual.yml
@@ -9,6 +9,7 @@ environment:
   NIX_CONFIG: "experimental-features = nix-command flakes"
 packages:
   - nixos.cachix
+  - nixos.jq
 tasks:
   - setup: |
       cachix use rycee
@@ -26,7 +27,7 @@ tasks:
       if [[ $gitBranch == master ]]; then
         dirName="unstable"
       else
-        dirName="$(cat .release)"
+        dirName="$(jq -r .release < release.json)"
       fi
 
       rsync --delete -r --info=stats \