.github: Automatically generate the changelog entries

This commit is contained in:
Krzesimir Nowak 2021-12-02 10:35:36 +01:00
parent 4e58c5a422
commit 1a6c155157
9 changed files with 39 additions and 0 deletions

View File

@ -28,6 +28,11 @@ git mv "${EBUILD_FILENAME}" "app-misc/ca-certificates/ca-certificates-${VERSION_
popd >/dev/null || exit popd >/dev/null || exit
URLVERSION=$(echo "${VERSION_NEW}" | tr '.' '_')
URL="https://firefox-source-docs.mozilla.org/security/nss/releases/nss_${URLVERSION}.html"
generate_update_changelog 'ca-certificates' "${VERSION_NEW}" "${URL}" 'ca-certificates'
generate_patches app-misc ca-certificates ca-certificates generate_patches app-misc ca-certificates ca-certificates
apply_patches apply_patches

View File

@ -40,6 +40,10 @@ sed -i "s/containerd-${VERSION_OLD}/containerd-${VERSION_NEW}/g" ${torcxEbuildFi
popd >/dev/null || exit popd >/dev/null || exit
URL="https://github.com/containerd/containerd/releases/tag/v${VERSION_NEW}"
generate_update_changelog 'containerd' "${VERSION_NEW}" "${URL}" 'containerd'
generate_patches app-emulation containerd Containerd generate_patches app-emulation containerd Containerd
apply_patches apply_patches

View File

@ -49,6 +49,12 @@ sed -i "s/github.com\/docker\/docker-ce\/blob\/v${VERSION_OLD}/github.com\/docke
popd >/dev/null || exit popd >/dev/null || exit
# drop all dots
URLVERSION="${VERSION_NEW//./}"
URL="https://docs.docker.com/engine/release-notes/#${URLVERSION}"
generate_update_changelog 'Docker' "${VERSION_NEW}" "${URL}" 'docker'
regenerate_manifest app-emulation docker-cli regenerate_manifest app-emulation docker-cli
generate_patches app-emulation docker Docker app-emulation/docker-cli app-torcx/docker app-emulation/docker-runc generate_patches app-emulation docker Docker app-emulation/docker-cli app-torcx/docker app-emulation/docker-runc

View File

@ -28,6 +28,10 @@ git mv "${EBUILD_FILENAME}" "sys-kernel/coreos-firmware/coreos-firmware-${VERSIO
popd >/dev/null || exit popd >/dev/null || exit
URL="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tag/?h=${VERSION_NEW}"
generate_update_changelog 'Linux Firmware' "${VERSION_NEW}" "${URL}" 'linux-firmware'
generate_patches sys-kernel coreos-firmware "Linux Firmware" generate_patches sys-kernel coreos-firmware "Linux Firmware"
apply_patches apply_patches

View File

@ -32,6 +32,10 @@ git mv "${EBUILD_FILENAME}" "dev-lang/go/go-${VERSION_NEW}.ebuild"
popd >/dev/null || exit popd >/dev/null || exit
URL="https://go.googlesource.com/go/+/refs/tags/go${VERSION_NEW}"
generate_update_changelog 'Go' "${VERSION_NEW}" "${URL}" 'golang'
generate_patches dev-lang go Go generate_patches dev-lang go Go
apply_patches apply_patches

View File

@ -36,6 +36,10 @@ done
popd >/dev/null || exit popd >/dev/null || exit
URL="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tag/?h=v${VERSION_NEW}"
generate_update_changelog 'Linux' "${VERSION_NEW}" "${URL}" 'linux'
generate_patches sys-kernel coreos-sources Kernel generate_patches sys-kernel coreos-sources Kernel
apply_patches apply_patches

View File

@ -49,6 +49,10 @@ sed -i "s/docker-runc-${VERSION_OLD}/docker-runc-${VERSION_NEW}/g" ${torcxEbuild
popd >/dev/null || exit popd >/dev/null || exit
URL="https://github.com/opencontainers/runc/releases/tag/v${VERSION_NEW}"
generate_update_changelog 'runc' "${VERSION_NEW}" "${URL}" 'runc'
generate_patches app-emulation docker-runc Runc generate_patches app-emulation docker-runc Runc
apply_patches apply_patches

View File

@ -32,6 +32,10 @@ git mv "${EBUILD_FILENAME}" "dev-lang/rust/rust-${VERSION_NEW}.ebuild"
popd >/dev/null || exit popd >/dev/null || exit
URL="https://github.com/rust-lang/rust/releases/tag/${VERSION_NEW}"
generate_update_changelog 'Rust' "${VERSION_NEW}" "${URL}" 'rust'
generate_patches dev-lang rust dev-lang/rust profiles generate_patches dev-lang rust dev-lang/rust profiles
apply_patches apply_patches

View File

@ -37,6 +37,10 @@ git mv "${EBUILD_FILENAME_OEM}" "coreos-base/oem-vmware/oem-vmware-${VERSION_NEW
popd >/dev/null || exit popd >/dev/null || exit
URL="https://github.com/vmware/open-vm-tools/releases/tag/stable-${VERSION_NEW}"
generate_update_changelog 'open-vm-tools' "${VERSION_NEW}" "${URL}" 'open-vm-tools'
generate_patches app-emulation open-vm-tools open-vm-tools coreos-base/oem-vmware generate_patches app-emulation open-vm-tools open-vm-tools coreos-base/oem-vmware
apply_patches apply_patches