plerup/makeEspArduino

set_git_version behaviour

fabianoriccardi opened this issue · 4 comments

Hi,
a question about set_git_version. If I don't have that version on my PC, does it download the specified version? If yes, where is it downloaded? Could the path be personalized?

This function assumes that you are using a cloned git repo located in a directory specified via ESP_ROOT.
Any version available in that repo can be used but you need to keep it updated for newer ones by doing a "git pull" when required.

So basically that command will run something like "git checkout ", right?

Well, that and make sure that all possible remaining files from the previous version is removed, that all sub-modules are updated and finally running the tools get command to retrieve all necessary things that are not in the repo

That's great, thanks!