Skip to content

Commit 03e2592

Browse files
authored
Automatically remove changelog fragments (#1902)
Automatically remove changelog fragments SUMMARY Automatically remove changelog fragments ISSUE TYPE Feature Pull Request COMPONENT NAME changelogs/config.yaml tools/prepare_release.yml ADDITIONAL INFORMATION
1 parent ebd0b39 commit 03e2592

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

changelogs/config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ changelog_filename_template: ../CHANGELOG.rst
22
changelog_filename_version_depth: 0
33
changes_file: changelog.yaml
44
changes_format: combined
5-
keep_fragments: true
5+
keep_fragments: false
66
mention_ancestor: true
77
new_plugins_after_name: removed_features
88
notesdir: fragments

tools/prepare_release.yml

-5
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@
2929
- name: Refresh the changelog
3030
ansible.builtin.shell: 'tox -e antsibull-changelog -- release --verbose --version {{ version }}'
3131

32-
- name: Clean up the changelog fragments
33-
ansible.builtin.file:
34-
path: "{{ playbook_dir }}/../changelogs/fragments"
35-
state: absent
36-
3732
- name: Add everything
3833
ansible.builtin.shell: git add --all
3934

0 commit comments

Comments
 (0)