Skip to content

Commit

Permalink
Make new-ansible no longer remove remove_collection_changelog_entries…
Browse files Browse the repository at this point in the history
… from changelog.yaml files.
  • Loading branch information
felixfontein committed Nov 5, 2024
1 parent d78b953 commit a82b95a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/641-changelog-fix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- "Fix ``new-ansible`` subcommand so it will not wipe the newly added extra data from ``changelog.yaml`` files (https://github.com/ansible-community/antsibull-build/pull/641)."
2 changes: 1 addition & 1 deletion src/antsibull_build/new_ansible.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ def new_ansible_command() -> int:
)

changelog = ChangelogData.ansible(app_ctx.extra["dest_data_dir"])
changelog.changes.save()
changelog.save()

return 0

0 comments on commit a82b95a

Please sign in to comment.