Skip to content

Commit

Permalink
Release script quickfix
Browse files Browse the repository at this point in the history
  • Loading branch information
merschformann committed May 20, 2022
1 parent 6e2f677 commit 462533a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions material/scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def release(tag: str, notes: str = ""):
f"Release {tag}",
]
if notes:
call.extend(["--notes", f'"{notes}"'])
call.extend(["--notes", notes])
# Get user confirmation
print(" ".join(call))
if not input("Continue? [y/N] ").lower().startswith("y"):
Expand All @@ -60,7 +60,11 @@ def main():
"""
parser = argparse.ArgumentParser(description="Release a new version of gotz.")
parser.add_argument(
"--notes", "-n", help="Notes to add to the release.", default=""
"--notes",
"-n",
type=str,
help="Notes to add to the release.",
default="",
)
args = parser.parse_args()
git_version = get_version_from_git()
Expand Down

0 comments on commit 462533a

Please sign in to comment.