@@ -72,7 +72,7 @@ def check_links(ignore_glob, ignore_links, cache_file, links_expire):
72
72
files = []
73
73
for ext in [".md" , ".rst" , ".ipynb" ]:
74
74
matched = glob (f"**/*{ ext } " , recursive = True )
75
- files .extend (m for m in matched if not m in ignored )
75
+ files .extend (m for m in matched if not m in ignored and "node_modules" not in m )
76
76
77
77
for f in files :
78
78
file_cmd = cmd + f' "{ f } "'
@@ -84,7 +84,7 @@ def check_links(ignore_glob, ignore_links, cache_file, links_expire):
84
84
util .run (file_cmd + " --lf" )
85
85
86
86
87
- def draft_changelog (version_spec , branch , repo , since , auth , dry_run ):
87
+ def draft_changelog (version_spec , branch , repo , since , auth , changelog_path , dry_run ):
88
88
"""Create a changelog entry PR"""
89
89
repo = repo or util .get_repo ()
90
90
branch = branch or util .get_branch ()
@@ -97,6 +97,9 @@ def draft_changelog(version_spec, branch, repo, since, auth, dry_run):
97
97
# Check out any unstaged files from version bump
98
98
util .run ("git checkout -- ." )
99
99
100
+ current = changelog .extract_current (changelog_path )
101
+ util .log (f"\n \n Current Changelog Entry:\n { current } " )
102
+
100
103
title = f"{ changelog .PR_PREFIX } for { version } on { branch } "
101
104
commit_message = f'git commit -a -m "{ title } "'
102
105
body = title
0 commit comments