From 79d0c23ff5554862dcf296373e46281ff83ba5dd Mon Sep 17 00:00:00 2001 From: maride Date: Tue, 13 Aug 2024 10:21:37 +0200 Subject: [PATCH] Fix: pivot to correct dist for relative paths for creation of Release file --- aux/build.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/aux/build.sh b/aux/build.sh index 2b626e4..e55b426 100755 --- a/aux/build.sh +++ b/aux/build.sh @@ -33,12 +33,12 @@ do_hash() { done } -/aux/generate-release.sh "$REPO_DOMAIN" "$REPO_DESCRIPTION" > dists/stable/Release -do_hash "MD5Sum" "md5sum" >> dists/stable/Release -do_hash "SHA1" "sha1sum" >> dists/stable/Release -do_hash "SHA256" "sha256sum" >> dists/stable/Release - -cat dists/stable/Release +pushd dists/stable +/aux/generate-release.sh "$REPO_DOMAIN" "$REPO_DESCRIPTION" > Release +do_hash "MD5Sum" "md5sum" >> Release +do_hash "SHA1" "sha1sum" >> Release +do_hash "SHA256" "sha256sum" >> Release +popd # Sign Release file cat dists/stable/Release | gpg --default-key $(gpg --list-keys | head -n 4 | tail -n 1) --armor --detach-sign --sign --output dists/stable/Release.gpg