Skip to content

Switch to comaparing whether we are on the latest tag using exit status instead of string

DJ Mountney requested to merge avoid-docker-push-on-error into master

This fixes an issue, where if the command for grabbing the latest tag fails, (git < 2 for example) it was still triggering a push to rc and latest.

Fixes: https://gitlab.com/gitlab-org/omnibus-gitlab/issues/1225

Merge request reports