mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 00:21:44 +02:00
Merge pull request #740 from flatcar/krnowak/fix-changelog-generation
.github: Fix changelog generation
This commit is contained in:
commit
707b110021
4
.github/workflows/common.sh
vendored
4
.github/workflows/common.sh
vendored
@ -118,6 +118,8 @@ function generate_update_changelog() {
|
||||
|
||||
file="changelog/updates/$(date '+%Y-%m-%d')-${update_name}-${version}-update.md"
|
||||
|
||||
pushd "${SDK_OUTER_TOPDIR}"
|
||||
|
||||
if [[ -d changelog/updates ]]; then
|
||||
printf '%s %s ([%s](%s)' '-' "${name}" "${version}" "${url}" > "${file}"
|
||||
if [[ $# -gt 0 ]]; then
|
||||
@ -131,6 +133,8 @@ function generate_update_changelog() {
|
||||
fi
|
||||
echo ')' >> "${file}"
|
||||
fi
|
||||
|
||||
popd
|
||||
}
|
||||
|
||||
# Regenerates manifest for given package, and commits changes made for
|
||||
|
Loading…
x
Reference in New Issue
Block a user