Script to upload Tor Browser to Github
I have made a preliminary version of a script to upload Tor Browser to GitHub. This should be integrated with the work done in #14744 (moved), as it should be run after fetching the latest Tor Browser. After the Tor Browser files have been fetched, this script copy the files to a new directory called VERSION, where VERSION is the version of the latest Tor Browser. Then it commits and push the changes to GitHub, all of this done via system calls to git, and with the assumption that a GitHub repository has been previously created and synchronized in the machine that the script is executed. After that, the GitHub API is used to get the links of the files recently pushed and create a links file with that info.
You can check a sample links file here and the script bundles2github here. Please note that the uploaded files are plain text, so if you open the links you will only see raw text. A sample link for a binary file can be found here.
In order to make the git commits and push without problems or user interaction, one should previously create a SSH key and link that key to GitHub. Similarly, to interact with the GitHub API without using basic credentials (user/pass), one should previously create a token in GitHub. For the tests I did a personal access token was enough.
This was done for the purposes of #14114 (moved). Reviews welcome!