Move git command to update necessary tags to submodule

I ran into this one since I did an initial shallow clone due to slow
pycon 2023 wifi.
This commit is contained in:
Marco Sirabella 2023-04-25 16:05:20 -06:00
parent 6c85034952
commit 863042dfd0
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="2023-02-01" https://github.com/adafruit/circuitpython HEAD"""
make fetch-tags"""
)