This script can be used for uploading relases sources and binaries
to github.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 35125 Build 35124: arc lint + arc unit
Event Timeline
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).
llvm/utils/release/github-release.py | ||
---|---|---|
17 | Where does one get the $github_token? | |
23 | If I mess up, is there somewhere I can go to remove files? Does a new upload overwrite old ones? | |
31 | 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.
Where does one get the $github_token?