Releaser: Ensure SUSE-style changes file is copied when releasing

Since we support the case with a SUSE-style detached changelog,
we need to ensure that the changes file is going to be committed
when tito makes a release and pushes it.
This commit is contained in:
Neal Gompa 2018-09-16 13:18:25 -04:00
parent 9494cc13b7
commit 597e4de1e0

View file

@ -68,7 +68,7 @@ class FedoraGitReleaser(Releaser):
self.build_targets = build_target_parser.get_build_targets()
# Files we should copy to git during a release:
self.copy_extensions = (".spec", ".patch")
self.copy_extensions = (".spec", ".changes", ".patch")
def release(self, dry_run=False, no_build=False, scratch=False):
self.scratch = scratch