Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion dev/create_orc_jira.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def main():
parser.add_argument("-t", "--type", help="Issue type to create when no parent is specified (e.g. Bug). Defaults to Improvement.")
parser.add_argument("-v", "--version", help="Version to use for the issue")
parser.add_argument("-c", "--component", help="Component for the issue")
parser.add_argument("-n", "--no-commit", action="store_true", help="Skip creating a commit")
args = parser.parse_args()

if args.parent:
Expand All @@ -133,7 +134,10 @@ def main():

create_and_checkout_branch(jira_id)

create_commit(jira_id, args.title)
if not args.no_commit:
create_commit(jira_id, args.title)
else:
print("Skipped commit creation")


if __name__ == "__main__":
Expand Down
Loading