v2.4.0
What's Changed
- chore: enable Integration test for macOS by @guitarrapc in #22
- Add tag_fetch_options to advanced checkout by @ankushg in #23
- feat: add no_tags to git-shallow-clone/checkout, add test and examples. by @guitarrapc in #24
- chore: skip publish dev on fork PR by @guitarrapc in #25
Full Changelog: v2.3.0...v2.4.0
Example
skip fetch all tags.
Default tag fetch behaviour is --tags
means fetch all tags. From this release you can fetch pushed tag only.
There are 2 choice to skip fetch all tags.
- If you use
git-shallow-clone/checkout
, then useno_tags: true
.
- git-shallow-clone/checkout:
no_tags: true
- If you use
git-shallow-clone/checkout_advanced
, then usetag_fetch_options: '--no-tags'
. Optionally add--no-tags
to fetch_options if needed.
# use --no-tags to fetch single tag on git `TAG`.
- git-shallow-clone/checkout_advanced
fetch_options: '--depth 10 --no-tags' # you can omit this.
tag_fetch_options: '--no-tags'