From 208910a0ddef08f41152bb969a480449117fedfb Mon Sep 17 00:00:00 2001 From: Martin Kepplinger Date: Mon, 18 Jun 2018 11:51:04 +0200 Subject: [PATCH] x230: add sha256 file to the release tarball --- x230/release.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/x230/release.sh b/x230/release.sh index 9b9cbf7..c0b8156 100755 --- a/x230/release.sh +++ b/x230/release.sh @@ -101,6 +101,7 @@ fi # copy-in the ROM cp "${RELEASE_IMAGE}" . RELEASE_IMAGE_FILE=$(basename "${RELEASE_IMAGE}") +sha256sum ${RELEASE_IMAGE_FILE} > "${RELEASE_IMAGE_FILE}.sha256" # copy-in device independent stuff cp ../SOURCE.md sources/ @@ -116,9 +117,11 @@ tar -cJf skulls-x230-"${version}".tar.xz \ external_install_bottom.sh \ external_install_top.sh \ sources \ - "${RELEASE_IMAGE_FILE}" + "${RELEASE_IMAGE_FILE}" \ + "${RELEASE_IMAGE_FILE}.sha256" rm "${RELEASE_IMAGE_FILE}" +rm "${RELEASE_IMAGE_FILE}.sha256" rm sources/SOURCE.md git commit -a -m "update to ${version}"