summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/release
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-08 11:40:55 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-06-08 11:40:55 (EDT)
commit75d714f5500d88bf9f6ed5c89a5ae29b32955563 (patch)
tree99e97855a13fb47b2ccf356864b1aad1ca1a41f4 /resources/scripts/helpers/build/release
parent6e2f64b68f427f7560737415283024ba2b07fd60 (diff)
downloadlibreboot-75d714f5500d88bf9f6ed5c89a5ae29b32955563.zip
libreboot-75d714f5500d88bf9f6ed5c89a5ae29b32955563.tar.gz
libreboot-75d714f5500d88bf9f6ed5c89a5ae29b32955563.tar.bz2
build/release/sha512sums: add error checking and verbosity
Diffstat (limited to 'resources/scripts/helpers/build/release')
-rwxr-xr-xresources/scripts/helpers/build/release/sha512sums3
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/release/sha512sums b/resources/scripts/helpers/build/release/sha512sums
index 5d86882..cc7668b 100755
--- a/resources/scripts/helpers/build/release/sha512sums
+++ b/resources/scripts/helpers/build/release/sha512sums
@@ -19,6 +19,9 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+[ "x${DEBUG+set}" = 'xset' ] && set -v
+set -u -e
+
version="$(git describe --tags HEAD)"
versiondir="release/${version}"
sha512filename="sha512sum.txt"