gitlab-ci: Ensure that version number has three components

19 jobs for !728 with wip/lint-check-version-number in 23 seconds (queued for 6 seconds)
detached
Status Job ID Name Coverage
  Lint
failed #63579
lint allowed to fail
ghc-linters

00:00:10

passed #63580
lint
lint-submods-mr

00:00:12

 
  Build
canceled #63582
x86_64-linux
hadrian-ghc-in-ghci

canceled #63581
x86_64-linux allowed to fail
validate-x86_64-linux-deb8-hadrian

canceled #63583
x86_64-linux
validate-x86_64-linux-deb9-debug

 
  Full Build
canceled #63585
aarch64-linux allowed to fail
validate-aarch64-linux-deb9

canceled #63586
x86_64-linux
validate-i386-linux-deb9

canceled #63584
x86_64-darwin
validate-x86_64-darwin

canceled #63587
x86_64-linux
validate-x86_64-linux-deb9

canceled #63589
x86_64-linux
validate-x86_64-linux-deb9-integer-simple

canceled #63588
x86_64-linux
validate-x86_64-linux-deb9-llvm

canceled #63590
x86_64-linux
validate-x86_64-linux-deb9-unreg

canceled #63591
x86_64-linux
validate-x86_64-linux-fedora27

canceled #63593
x86_64-windows allowed to fail
validate-x86_64-windows

canceled #63592
x86_64-windows
validate-x86_64-windows-hadrian

 
  Cleanup
canceled #63595
x86_64-darwin
cleanup-darwin

canceled #63594
x86_64-windows
cleanup-windows

 
  Packaging
canceled #63596
x86_64-linux
doc-tarball

 
  Hackage
canceled #63597
x86_64-linux allowed to fail manual
hackage

 
Name Stage Failure
failed
ghc-linters Lint
$ validate-whitespace .git $(git rev-list $base..$CI_COMMIT_SHA)
whitespace validation passed!
$ .gitlab/linters/check-makefiles.py $base $CI_COMMIT_SHA
$ .gitlab/linters/check-cpp.py $base $CI_COMMIT_SHA
$ .gitlab/linters/check-version-number.sh
grep: \[[0-9]+\.[0-9]+\.[0-9]+\]: No such file or directory
configure.ac:# We would use "grep -q" here, but Solaris's grep doesn't support it.
error: configure.ac: GHC version number must have three components.
ERROR: Job failed: exit code 1