Skip to content

Fetch tags in CI build when in a fork

Vicente Bolea requested to merge vbolea/vtk-m:update-cmake-tag-test into master

Often times when miss to push to our fork new releases/tags

There is no easy solution as it is a small but manual step that can be easily overlook.

We need to do this to avoid incorrect warnings about having the wrong git tag in the Gitlab CI.

This MR try to avoid this situation by fetching the tags of the main repo when running a CI build from a fork

Edited by Vicente Bolea

Merge request reports