Fix: pivot to correct dist for relative paths for creation of Release file

This commit is contained in:
maride 2024-08-13 10:21:37 +02:00
parent 08f693c910
commit 79d0c23ff5

View File

@ -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