Submitting with `-t` breaks when a tag already points to HEAD
As @rjoshi reported on mattermost, submitting the same job twice with a different tag doesn't do what you might expect. The problem seems to be the line DUMP_ID=$(git tag --points-at)
, which is executed if TAG
is specified. If a tag already exists at the current HEAD
, this will be returned, which means the new tag name is ignored. If multiple tags exist at the current HEAD
I don't really know what will happen (this command will list them all, but after that I'm not sure).