Skip to content

Commit

Permalink
Added: Added variables and arguments for the conventional commits
Browse files Browse the repository at this point in the history
  • Loading branch information
y0urself committed Aug 30, 2021
1 parent 6ff226c commit 2daf466
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 10 additions & 0 deletions pontos/release/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,15 @@ def initialize_default_parser() -> ArgumentParser:
'to CHANGELOG.md in the repository root directory',
),
)
prepare_parser.add_argument(
'--space',
default='greenbone',
help='User/Team name in github',
)
prepare_parser.add_argument(
'--project',
help='The github project',
)
prepare_parser.add_argument(
'--conventional-commits',
'-CC',
Expand All @@ -99,6 +108,7 @@ def initialize_default_parser() -> ArgumentParser:
)
prepare_parser.add_argument(
'--conventional-commits-config',
dest='cc_config',
default=Path('changelog.toml'),
type=FileType('r'),
help="Conventional commits config file (toml), including conventions.",
Expand Down
3 changes: 0 additions & 3 deletions pontos/release/prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@
calculate_calendar_version,
commit_files,
find_signing_key,
<<<<<<< HEAD
get_project_name,
=======
>>>>>>> ee23490... refactor: Splitting up the pontos-release into several files: Detach prepare from single file. Wip: Also including conventional commits into prepare
get_current_version,
get_next_patch_version,
update_version,
Expand Down

0 comments on commit 2daf466

Please sign in to comment.