Skip to content

Commit

Permalink
don't use fixed image file extension during signing
Browse files Browse the repository at this point in the history
  • Loading branch information
jpalus committed Jun 28, 2023
1 parent 4a23293 commit 2a5d6ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 2a5d6ea

Please sign in to comment.