mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-17 15:09:26 +03:00
update-python-libraries: add package changelog to commit message
This commit is contained in:
parent
929da50216
commit
180ccef717
1 changed files with 3 additions and 0 deletions
|
@ -492,6 +492,9 @@ def _commit(path, pname, old_version, new_version, pkgs_prefix="python: ", **kwa
|
|||
|
||||
msg = f'{pkgs_prefix}{pname}: {old_version} -> {new_version}'
|
||||
|
||||
if changelog := _get_attr_value(f"{pkgs_prefix}{pname}.meta.changelog"):
|
||||
msg += f"\n\n{changelog}"
|
||||
|
||||
try:
|
||||
subprocess.check_call([GIT, 'add', path])
|
||||
subprocess.check_call([GIT, 'commit', '-m', msg])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue