Lines Matching +full:github +full:- +full:token
2 # ===-- github-upload-release.py ------------------------------------------===#
6 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 #===------------------------------------------------------------------------===#
10 # Create and manage releases in the llvm github project.
16 # You will need to obtain a personal access token for your github account in
18 # https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line
21 # ./github-upload-release.py --token $github_token --release 8.0.1-rc4 create
24 # ./github-upload-release.py --token $github_token --release 8.0.1-rc4 upload --files llvm-8.0.1rc4…
27 # ./github-upload-release.py --token $github_token --release 8.0.1-rc4 upload --files *.src.*
28 #===------------------------------------------------------------------------===#
32 import github
36 tag = 'llvmorg-{}'.format(release)
50 release = repo.get_release('llvmorg-{}'.format(release))
62 parser.add_argument('--token', type=str)
63 parser.add_argument('--release', type=str)
66 parser.add_argument('--files', nargs='+', type=str)
71 github = github.Github(args.token) variable
72 llvm_repo = github.get_organization('llvm').get_repo('llvm-project')