Browse Source

release.sh: fixes

pull/35/head
Martin Kepplinger 6 years ago
parent
commit
5c7eebd890
1 changed files with 9 additions and 4 deletions
  1. +9
    -4
      release.sh

+ 9
- 4
release.sh View File

@ -92,19 +92,24 @@ if [ ! $filesize -eq "$reference_filesize" ] ; then
exit 1 exit 1
fi fi
cp ${RELEASE_IMAGE} .
RELEASE_IMAGE_FILE=$(basename "${RELEASE_IMAGE}")
tar -cJf coreboot-x230-${version}.tar.xz \ tar -cJf coreboot-x230-${version}.tar.xz \
README.md \ README.md \
NEWS \ NEWS \
util \ util \
LICENSE* \ LICENSE* \
prepare_internal_flashing.sh \ prepare_internal_flashing.sh \
${RELEASE_IMAGE}
git clean -d -f
flashrom_rpi_bottom_unlock.sh \
flashrom_rpi_top_write.sh \
${RELEASE_IMAGE_FILE}
git commit -a -m "update to ${version}" git commit -a -m "update to ${version}"
git tag -s ${version} -m "coreboot-x230 ${version}" git tag -s ${version} -m "coreboot-x230 ${version}"
sha256sum coreboot-x230-${version}.tar.xz > coreboot-x230-${version}.tar.xz.sha256 sha256sum coreboot-x230-${version}.tar.xz > coreboot-x230-${version}.tar.xz.sha256
sha1sum coreboot-x230-${version}.tar.xz > coreboot-x230-${version}.tar.xz.sha512
sha512sum coreboot-x230-${version}.tar.xz > coreboot-x230-${version}.tar.xz.sha512
gpg -b -a coreboot-x230-${version}.tar.xz gpg -b -a coreboot-x230-${version}.tar.xz
rm ${RELEASE_IMAGE_FILE}

Loading…
Cancel
Save