Add a script which allows generating the target list for copy-pasting to .gitlab-ci.yaml
We were expecting a checked out branch which obviously isn't always the case. Instread try and find a tag.