Skip to content

Commit

Permalink
Add new milestone IDs to script for creating issues from release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
jseldess committed Nov 19, 2018
1 parent b6556a8 commit 463037e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/issues-from-release-notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,18 @@
parser.add_argument("-r", "--release_notes", required=True,
help="release notes file from which to create docs issues")
parser.add_argument("-m", "--milestone", required=True,
help="milestone to assign to docs issues, e.g., 2.1, 2.0.x, 2.0")
help="milestone to assign to docs issues, e.g., 2.2, 2.1.x, 2.1")

args = parser.parse_args()

release_notes = args.release_notes
milestone = args.milestone

# Map milestones to their internal IDs.
if milestone == "2.2":
milestone = 11
if milestone == "2.1.x":
milestone = 12
if milestone == "2.1":
milestone = 8
if milestone == "2.0.x":
Expand Down

0 comments on commit 463037e

Please sign in to comment.