Merge pull request #7909 from mjsir911/msirabella/shallow_setup

Update shallow tag update
This commit is contained in:
Scott Shawcroft 2023-04-26 10:12:00 -07:00 committed by GitHub
commit 5116c01735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -345,3 +345,7 @@ fetch-submodules:
remove-submodules:
git submodule deinit -f --all
rm -rf .git/modules/*
.PHONY: fetch-tags
fetch-tags:
git fetch --tags --recurse-submodules=no --shallow-since="2023-02-01" https://github.com/adafruit/circuitpython HEAD

View File

@ -66,7 +66,7 @@ def cannot_determine_version():
CircuitPython must be built from a git clone with tags.
If you cloned from a fork, fetch the tags from adafruit/circuitpython as follows:
git fetch --tags --recurse-submodules=no --shallow-since="2021-07-01" https://github.com/adafruit/circuitpython HEAD"""
make fetch-tags"""
)