Closed Christian-B closed 3 years ago
Error was: Cloning into 'spinnaker_tools'... fatal: Remote branch refs/tags/Spinnaker6.0.0 not found in upstream origin script returned exit code 128
yet got tag does list it
I have noticed that the issue is not just when master == the tag.
It is generally due to trying to clone the tag.
For example SpinnMan tag/6.0.0 action fails because: Could not find remote branch refs/tags/6.0.0 to clone.
Discovered during the 6.0.0 release.
The way gitclone.sh works fails if there is a release (or maybe even just a tag) which points to the same commit as master/main
To replicate this bug create a release (or maybe even just a tag) of master (or a branch which is neither ahead of behind master) on one of the other repositories and then run gitclone.hs on that repository
Workaround is to always make sure that master/main on all repositories does not point to the same commit as a release.