Skip to content

Commit

Permalink
Added activation spec changes to changelog
Browse files Browse the repository at this point in the history
Changes that happened on the activation package spec file
were not part of the package changelog generated by
helper/update_changelog.py
  • Loading branch information
schaefi committed Nov 12, 2019
1 parent 84e32ff commit 43d50c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ sle15_activation: check
# update rpm changelog using reference file
helper/update_changelog.py \
--since package/suse-migration-sle15-activation.changes.ref \
--from package/suse-migration-sle15-activation-spec-template \
--from grub.d --utc > \
dist/suse-migration-sle15-activation.changes
helper/update_changelog.py \
Expand Down
5 changes: 3 additions & 2 deletions helper/update_changelog.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python3
"""
usage: update_changelog (--since=<reference_file>|--file=<reference_file>)
[--from=<path>]
[--from=<path>...]
[--utc]
arguments:
Expand Down Expand Up @@ -72,7 +72,8 @@
if latest_date:
git_arguments.append('--since="{0}"'.format(latest_date))
if arguments.get('--from'):
git_arguments.append(arguments.get('--from'))
for source_repo in arguments.get('--from'):
git_arguments.append(source_repo)

process = subprocess.Popen(
git_arguments, stdout=subprocess.PIPE
Expand Down

0 comments on commit 43d50c1

Please sign in to comment.