You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add --keep option to allow to generate newsfile, but keep newsfragmen… (#453)
* Add --keep option to allow to generate newsfile, but keep newsfragments - closes#129
* Apply suggestions from code review
Co-authored-by: Adi Roiban <adiroiban@gmail.com>
* Additional post-PR enhancements
* Update build --keep comment to be more relevant
Co-authored-by: Adi Roiban <adiroiban@gmail.com>
* More compact remove_files and use with_isolated_runner for new tests
* Refactored _git.remove_files
Code making decision to remove prompt or keep news fragments
is being kept in new intermediate function _remover.remove_news_fragment_files
* Update src/towncrier/newsfragments/129.feature
Co-authored-by: Hynek Schlawack <hs@ox.cx>
* Make a decision and return it instead of calling _git.remove underneath
* Move should_remove_fragment_files into build module
Co-authored-by: Adi Roiban <adiroiban@gmail.com>
Co-authored-by: Hynek Schlawack <hs@ox.cx>
0 commit comments