mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-03 19:42:15 +02:00
.github: get metadata included in the generated PRs
We need to get metadata included in the generated pull requests.
This commit is contained in:
parent
e10e7e45b7
commit
8bd2c35747
@ -23,7 +23,7 @@ enter /mnt/host/source/src/scripts/update_metadata --commit coreos
|
|||||||
|
|
||||||
# We can only create the actual commit in the actual source directory, not under the SDK.
|
# We can only create the actual commit in the actual source directory, not under the SDK.
|
||||||
# So create a format-patch, and apply to the actual source.
|
# So create a format-patch, and apply to the actual source.
|
||||||
git add dev-lang/go/go-${VERSION_NEW}*
|
git add dev-lang/go/go-${VERSION_NEW}* metadata
|
||||||
git commit -a -m "dev-lang/go: Upgrade Go ${versionOld} to ${VERSION_NEW}"
|
git commit -a -m "dev-lang/go: Upgrade Go ${versionOld} to ${VERSION_NEW}"
|
||||||
git format-patch -1 --stdout HEAD > "${branch}".patch
|
git format-patch -1 --stdout HEAD > "${branch}".patch
|
||||||
popd || exit
|
popd || exit
|
||||||
|
@ -26,7 +26,7 @@ enter /mnt/host/source/src/scripts/update_metadata --commit coreos
|
|||||||
|
|
||||||
# We can only create the actual commit in the actual source directory, not under the SDK.
|
# We can only create the actual commit in the actual source directory, not under the SDK.
|
||||||
# So create a format-patch, and apply to the actual source.
|
# So create a format-patch, and apply to the actual source.
|
||||||
git add sys-kernel/coreos-*
|
git add sys-kernel/coreos-* metadata
|
||||||
git commit -a -m "sys-kernel: Upgrade Linux ${versionOld} to ${VERSION_NEW}"
|
git commit -a -m "sys-kernel: Upgrade Linux ${versionOld} to ${VERSION_NEW}"
|
||||||
git format-patch -1 --stdout HEAD > "${branch}".patch
|
git format-patch -1 --stdout HEAD > "${branch}".patch
|
||||||
popd || exit
|
popd || exit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user