.github: Use different kernel changelog file name per version

All runs of the GitHub Action to update the kernel used the same
changelog name, which is a bit confusing when comparing the releases.
Append the version to the filename to avoid using the same name for the
maintenance updates of a channel releases and for the introduction of a
kernel update in main.
This commit is contained in:
Kai Lueke 2022-01-03 13:58:22 +01:00
parent 5273644d27
commit bfca4c3092

View File

@ -85,7 +85,7 @@ function generate_update_changelog() {
local URL="${3}"
local UPDATE_NAME="${4}"
shift 4
local file="changelog/updates/$(date '+%Y-%m-%d')-${UPDATE_NAME}-update.md"
local file="changelog/updates/$(date '+%Y-%m-%d')-${UPDATE_NAME}-${VERSION}-update.md"
local -a old_links
pushd "${SDK_OUTER_SRCDIR}/third_party/coreos-overlay" >/dev/null || exit