Browse Source

added custom prompt

master
Holger Frey 3 years ago
parent
commit
3b57f1e118
  1. 4
      work_helpers/excel2changelog.py
  2. 8
      work_helpers/sg_mbp_release.py

4
work_helpers/excel2changelog.py

@ -14,7 +14,9 @@ col_start = "A" @@ -14,7 +14,9 @@ col_start = "A"
row_start = 8
def text_to_changelog(raw_text, sheet, start_column, start_row, compact=False, keep=False):
def text_to_changelog(
raw_text, sheet, start_column, start_row, compact=False, keep=False
):
cells = [line.split("\t") for line in raw_text.splitlines()]
xls_sep = "!" if compact else "\t"

8
work_helpers/sg_mbp_release.py

@ -150,7 +150,13 @@ def sg_mbp_new_version(version): @@ -150,7 +150,13 @@ def sg_mbp_new_version(version):
@click.command()
@click.option("-d", "--dev_version", prompt=True, required=True, default="")
@click.option(
"-d",
"--dev_version",
prompt="Formula + Dev version i.e. '.4c'",
required=True,
default="",
)
def sg_mbp_release(dev_version):
"""
Before running this command:

Loading…
Cancel
Save