Skip to content

redhat: add clog for new minor release to index

Frantisek Hrbata requested to merge frhr/kernel-ark:add_new_clog into os-build
Bugzilla: INTERNAL
Upstream Status: RHEL only
Tested: bump minor and run dist-release

dist-release-changed target has a check if there is any change between
worktree and index. If not, it exits with "Nothing changed, skipping updates".
Since the new file e.g. redhat/kernel.changelog-9.2 is not in the index yet,
because it's added after the check in the dist-release-finish target,
the check is bogus in this case. Note it's not looking at local vs
remote changes. Fix this just by adding the new changelog to index when
it's copied.

Signed-off-by: Frantisek Hrbata <fhrbata@redhat.com>

Merge request reports