gitlab-ci: Ensure that version number has three components