We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0b73f1 commit 5089acdCopy full SHA for 5089acd
scripts/release.py
@@ -120,8 +120,9 @@ def publish_release(args: argparse.Namespace) -> None:
120
git('push', repo_url, 'tag', version)
121
122
# publish the release
123
- post_url = '/repos/{}/releases?access_token={}'.format(GITHUB_REPO, args.token)
+ post_url = '/repos/{}/releases'.format(GITHUB_REPO)
124
headers = {
125
+ 'Authorization': 'token {}'.format(args.token),
126
'User-Agent': 'Sublime Text',
127
'Content-type': 'application/json',
128
}
0 commit comments