The idea is to generate output/git_sources.json file that will contain url, branch and commit hash combo. The easiest way to generate file for all devices is to run ./compile.sh targets. Then at the time of release we will copy the output/git_sources.json file to config/sources/git_sources.json. Once the file is copied, the hash information from the file will be used to fetch resources for git repositories where branches are specified instead of tags or commits.
There can be other ways to do this as well. I am just too tired to experiment more on the same. Raising it to be a communication starter.
The idea is to generate
output/git_sources.json
file that will contain url, branch and commit hash combo. The easiest way to generate file for all devices is to run./compile.sh targets
. Then at the time of release we will copy theoutput/git_sources.json
file toconfig/sources/git_sources.json
. Once the file is copied, the hash information from the file will be used to fetch resources for git repositories where branches are specified instead of tags or commits.There can be other ways to do this as well. I am just too tired to experiment more on the same. Raising it to be a communication starter.