You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: etc/make_release.py
+6-37Lines changed: 6 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,6 @@
51
51
fromgitimportRepo# pip install GitPython
52
52
fromgithubimportGithub# pip install PyGithub
53
53
fromjiraimportJIRA# pip install jira
54
-
importoauthlib.oauth1
55
54
56
55
ifsys.version_info< (3, 0, 0):
57
56
raiseRuntimeError("This script requires Python 3 or higher")
@@ -72,11 +71,11 @@
72
71
@click.option('--skip-release-tag',
73
72
is_flag=True,
74
73
help='Use an existing release tag instead of creating a new one')
75
-
@click.option('--jira-creds-file',
74
+
@click.option('--jira-token-file',
76
75
'-j',
77
-
default='jira_creds.txt',
76
+
default='jira_token.txt',
78
77
show_default=True,
79
-
help='Jira OAuth credentials file')
78
+
help='Jira token file. Contains a Personal Access Token. See https://wiki.corp.mongodb.com/spaces/TOGETHER/pages/218995581/Jira+Personal+Access+Tokens+PATs')
Note the `"\n"` strings must be preserved as-is in the key_cert value.
57
+
- See [Jira: Personal Access Tokens (PATs)](https://wiki.corp.mongodb.com/spaces/TOGETHER/pages/218995581/Jira+Personal+Access+Tokens+PATs) for steps to create a token.
0 commit comments