Skip to content

Commit e39e50c

Browse files
committed
Review fixes
1 parent 0095844 commit e39e50c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/release/release_notes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ def generate_release_notes(
2020
repository_path: str = ".",
2121
changelog_sub_path: str = DEFAULT_CHANGELOG_PATH,
2222
initial_commit_sha: str = None,
23-
initial_version: str = "1.0.0",
23+
initial_version: str = DEFAULT_INITIAL_GIT_TAG_VERSION,
2424
) -> str:
25-
"""Generate a release notes based on the changes since the previous version tag.
25+
f"""Generate a release notes based on the changes since the previous version tag.
2626
2727
Parameters:
2828
repository_path: Path to the Git repository. Default is the current directory '.'.
29-
changelog_sub_path: Path to the changelog directory relative to the repository root. Default is 'changelog/'.
29+
changelog_sub_path: Path to the changelog directory relative to the repository root. Default is '{DEFAULT_CHANGELOG_PATH}.
3030
initial_commit_sha: SHA of the initial commit to start from if no previous version tag is found.
31-
initial_version: Version to use if no previous version tag is found. Default is "1.0.0".
31+
initial_version: Version to use if no previous version tag is found. Default is '{DEFAULT_INITIAL_GIT_TAG_VERSION}'.
3232
3333
Returns:
3434
Formatted release notes as a string.

0 commit comments

Comments
 (0)