mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 17:06:58 +02:00
Merge pull request #2158 from flatcar/dongsu/github-actions-20220914
.github: fix Go changelog and git show-ref bug
This commit is contained in:
commit
e54ec6665a
@ -70,6 +70,7 @@ function checkout_branches() {
|
|||||||
|
|
||||||
if git -C "${SDK_OUTER_SRCDIR}/third_party/coreos-overlay" show-ref "remotes/origin/${TARGET_BRANCH}"; then
|
if git -C "${SDK_OUTER_SRCDIR}/third_party/coreos-overlay" show-ref "remotes/origin/${TARGET_BRANCH}"; then
|
||||||
echo "Target branch already exists. exit.";
|
echo "Target branch already exists. exit.";
|
||||||
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Each submodule directory should be explicitly set from BASE_BRANCH,
|
# Each submodule directory should be explicitly set from BASE_BRANCH,
|
||||||
|
@ -60,6 +60,10 @@ for version_short in "${!VERSIONS[@]}"; do
|
|||||||
|
|
||||||
popd >/dev/null || exit
|
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
|
generate_patches dev-lang go Go
|
||||||
((START_NUMBER++))
|
((START_NUMBER++))
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user