Modify release script to enforce version updated

This commit is contained in:
Matthias Beyer 2018-04-11 18:14:43 +02:00
parent 19940d3e1c
commit c6dc6d2bee

View file

@ -1,5 +1,12 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo "Are you sure that the files"
echo " * 'lib/core/libimagrt/src/version.rs'"
echo " * 'scripts/version-updated'"
echo "contain the right version setting?"
echo "If yes, pass '--I-AM-SURE-VERSION-IS-UPDATED' as parameter"
[[ "--I-AM-SURE-VERSION-IS-UPDATED" == $1 ]] || exit 1
CRATES=( CRATES=(
./lib/etc/libimagutil ./lib/etc/libimagutil