Skip to content

Commit

Permalink
Generate release notes if not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
merschformann committed Jan 11, 2025
1 parent 8340c76 commit 586c957
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions material/scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ def release(tag: str, notes: str = ""):
]
if notes:
call.extend(["--notes", notes])
else:
call.extend(["--generate-notes"])
# Get user confirmation
print(" ".join(call))
if not input("Continue? [y/N] ").lower().startswith("y"):
Expand Down

0 comments on commit 586c957

Please sign in to comment.