From 2a5d6ea2d3c7d990777cba683fdf55416cf00030 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Wed, 28 Jun 2023 19:32:03 +0200 Subject: [PATCH] don't use fixed image file extension during signing --- release.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/release.sh b/release.sh index 0bad41d..9c7d758 100755 --- a/release.sh +++ b/release.sh @@ -606,11 +606,11 @@ EOF } image_sign() { - if [ ! -f "$SCRIPT_DIR/$IMAGE_NAME-$RELEASE_NAME.img.xz" ]; then - error "$SCRIPT_DIR/$IMAGE_NAME-$RELEASE_NAME.img.xz does not exist" + if [ ! -f "$SCRIPT_DIR/$IMAGE_NAME-$RELEASE_NAME.$IMAGE_EXT.xz" ]; then + error "$SCRIPT_DIR/$IMAGE_NAME-$RELEASE_NAME.$IMAGE_EXT.xz does not exist" fi - echo "Signing image $IMAGE_NAME-$RELEASE_NAME.img.xz" - run_log 'Signing' gpg --sign --armor --detach-sig "$SCRIPT_DIR/$IMAGE_NAME-$RELEASE_NAME.img.xz" + echo "Signing image $IMAGE_NAME-$RELEASE_NAME.$IMAGE_EXT.xz" + run_log 'Signing' gpg --sign --armor --detach-sig "$SCRIPT_DIR/$IMAGE_NAME-$RELEASE_NAME.$IMAGE_EXT.xz" } update_termux_proot() {