Skip to content

Releases: bitrise-steplib/steps-git-clone

5.1.2

06 May 06:43
0cfb786
Compare
Choose a tag to compare

Fix sparse checkout for git 2.25.1, by calling git "config" "extensions.partialClone" "origin" "--local".

5.1.1

09 Apr 13:53
02ca068
Compare
Choose a tag to compare

Introduced --jobs flag on submodule update and fetch commands

5.1.0

07 Apr 13:00
6dae3c8
Compare
Choose a tag to compare

Introducing sparse_directories input to limit which directories should be cloned by the Step.

Input can be used either of the following way:

 - sparse_directories: client/android
OR
- sparse_directories: |-
               client/android
               client/common

5.0.1

29 Mar 09:50
fe421b4
Compare
Choose a tag to compare

Update fetch_tags input description.

5.0.0

24 Mar 13:59
5a5f284
Compare
Choose a tag to compare

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".

4.3.1

23 Mar 10:03
377178c
Compare
Choose a tag to compare

Use --jobs flag to accelerate parallel fetches

4.3.0

19 Mar 15:06
95922f3
Compare
Choose a tag to compare

Added the option to disable merging Pull Request branches, not enabled by default.

Added a new input: "Allows to validate a temporary merged state." (merge_pr)

  • yes: The default setting. Merges the source branch into the destination branch.
  • no: Disables merging the source and destination branches. Treats Pull Request events as Push events on the source branch.

4.2.1

19 Mar 09:09
152fdb9
Compare
Choose a tag to compare

Update update_submodule input description and apply --no-recurse-submodules flag for git fetch commands in case update_submodule="no".

4.2.0

17 Mar 14:26
bf04dae
Compare
Choose a tag to compare

Support shallow cloning submodules

Introduce limit_submodule_update_depth input with default value of yes. If input has yes value, then submodules will be cloned with the --depth=1 argument.

4.1.0

12 Mar 12:41
1dda0a4
Compare
Choose a tag to compare
  • Falling back to manual merge upon failing on applying a patch file. (#139)