This script can be used for uploading relases sources and binaries
My initial thought when I saw the filename was that this was a github version of test-release.sh. Which we'll need too, but it's not this one :-) What do you think about renaming to github-upload-release.py, or something else that has "upload" in the name to make it more explicit?
This is super cool! I just looked at https://github.com/llvm/llvm-project/releases
Should we be using this to host binaries from now on, and link to them from http://releases.llvm.org/ (ah, I see you did this for 7.1.0 already; I guess I'm not keeping up).
|17 ↗||(On Diff #210225)|
Where does one get the $github_token?
|23 ↗||(On Diff #210225)|
If I mess up, is there somewhere I can go to remove files? Does a new upload overwrite old ones?
|31 ↗||(On Diff #210225)|
ultra nit: This blank line seems unnecessary
Yes, I experimented with this for 7.1.0 and also 8.0.1-rc*. It seems to work well, and I think it makes sense to do this for all releases going forward. It will save the LLVM Foundation bandwidth costs and we need a new place to store the binaries anyway once SVN goes away.