diff --git a/sdk_container/src/third_party/coreos-overlay/.github/workflows/common.sh b/sdk_container/src/third_party/coreos-overlay/.github/workflows/common.sh index 6c6e1ba0cd..363c650e3a 100644 --- a/sdk_container/src/third_party/coreos-overlay/.github/workflows/common.sh +++ b/sdk_container/src/third_party/coreos-overlay/.github/workflows/common.sh @@ -70,6 +70,7 @@ function checkout_branches() { if git -C "${SDK_OUTER_SRCDIR}/third_party/coreos-overlay" show-ref "remotes/origin/${TARGET_BRANCH}"; then echo "Target branch already exists. exit."; + return 1 fi # Each submodule directory should be explicitly set from BASE_BRANCH, diff --git a/sdk_container/src/third_party/coreos-overlay/.github/workflows/go-apply-patch.sh b/sdk_container/src/third_party/coreos-overlay/.github/workflows/go-apply-patch.sh index b34b28692d..fa3b8ce394 100755 --- a/sdk_container/src/third_party/coreos-overlay/.github/workflows/go-apply-patch.sh +++ b/sdk_container/src/third_party/coreos-overlay/.github/workflows/go-apply-patch.sh @@ -60,6 +60,10 @@ for version_short in "${!VERSIONS[@]}"; do popd >/dev/null || exit + URL="https://go.dev/doc/devel/release#${VERSION_NEW}" + + generate_update_changelog 'Go' "${VERSION_NEW}" "${URL}" 'go' + generate_patches dev-lang go Go ((START_NUMBER++)) done