The version appears also in the tests (where IMHO the test could also not test the version but make sure that some numbers appear).

For this script here I would suggest working with shell patterns to make the code a bit more flexible. Or somehow else make the code find out the version by reading it from somewhere else.