diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-04-11 18:14:43 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-04-22 13:38:24 +0200 |
commit | c6dc6d2bee7e66db0ae8651051ab2fecf5de91a4 (patch) | |
tree | 67f1f17b7bb41a1d5d8455091bee8ce0d70c07f1 /scripts | |
parent | 19940d3e1c6fdb4575867be3651a908b48315931 (diff) |
Modify release script to enforce version updated
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/release.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/release.sh b/scripts/release.sh index d3a40794..10c30c46 100644 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -1,5 +1,12 @@ #!/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=( ./lib/etc/libimagutil |