Git Clone Repository v5.0.0

#1

This version Introduces a new input (fetch_tags), which can be used to control whether git fetch calls should fetch all tags or no tags at all.
Set fetch_tags to "yes" if you plan to generate a changelog or want to use the repository’s tags in further Steps.
If you want to speed up the step run set fetch_tags to "no", this is the default value.

Tag checkout strategy’s fetch changed from git "fetch" "--tags" to git "fetch" "origin" "refs/tags/<TAG>:refs/tags/<TAG>"so that in case of tag checkout the step only fetches the desired tag.

Migration guide

If your workflow relied on git tags, set fetch_tags to "yes".

0 Likes