File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,15 @@ def generate_release_notes(
20
20
repository_path : str = "." ,
21
21
changelog_sub_path : str = DEFAULT_CHANGELOG_PATH ,
22
22
initial_commit_sha : str = None ,
23
- initial_version : str = "1.0.0" ,
23
+ initial_version : str = DEFAULT_INITIAL_GIT_TAG_VERSION ,
24
24
) -> 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.
26
26
27
27
Parameters:
28
28
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 } .
30
30
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 } ' .
32
32
33
33
Returns:
34
34
Formatted release notes as a string.
You can’t perform that action at this time.
0 commit comments