mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-28 21:54:10 +01:00
devel/release-checks.sh: version string problem does not halt execution
Version string has strict format requirements in release-check.sh: only numbers and periods (in sane order) are accepted. Mismatch there used to halt further execution. In this case, checking versions like '*~rc1' for (more) problems was not possible. This 'fatal error' is now changed buffered error message like in following tests, and is displayed at the end of execution.
This commit is contained in:
parent
be8a9ab0e6
commit
bc89dd7688
1 changed files with 4 additions and 5 deletions
|
@ -53,12 +53,13 @@ fi < ./version
|
||||||
|
|
||||||
readonly VERSION
|
readonly VERSION
|
||||||
|
|
||||||
|
# In the rest of this file, tests collect list of errors to be fixed
|
||||||
|
|
||||||
verfail ()
|
verfail ()
|
||||||
{
|
{
|
||||||
echo No.
|
echo No.
|
||||||
echo "$@"
|
append_emsg "$@"
|
||||||
echo "Please follow the instructions in RELEASING to choose a version"
|
append_emsg " Please follow the instructions in RELEASING to choose a version"
|
||||||
exit 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
echo -n "Checking that '$VERSION' is good with digits and periods... "
|
echo -n "Checking that '$VERSION' is good with digits and periods... "
|
||||||
|
@ -73,8 +74,6 @@ case $VERSION in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
# In the rest of this file, tests collect list of errors to be fixed
|
|
||||||
|
|
||||||
echo -n "Checking that this is Debian package for notmuch... "
|
echo -n "Checking that this is Debian package for notmuch... "
|
||||||
read deb_notmuch deb_version rest < debian/changelog
|
read deb_notmuch deb_version rest < debian/changelog
|
||||||
if [ "$deb_notmuch" = 'notmuch' ]
|
if [ "$deb_notmuch" = 'notmuch' ]
|
||||||
|
|
Loading…
Reference in a new issue