build(gogit): disable gogit builds for stable releases (#39324)

This commit is contained in:
wxiaoguang
2026-09-16 13:36:10 +00:00
committed by GitHub
parent 2b6500aca4
commit f0a535b641
+9 -5
View File
@@ -62,11 +62,15 @@ main() {
fi fi
done done
for target in "${RELEASE_PLATFORMS_GOGIT[@]}"; do # Only build with gogit for main-nightly, disable gogit for stable releases since there seems no real requirement for them.
if [[ -z "$platform" || "$target" == "$platform/"* ]]; then # If no real requirement (no user feedbacks), we can completely remove gogit support in the future.
build "$target" "gogit" if [ "$VERSION" = "main-nightly" ]; then
fi for target in "${RELEASE_PLATFORMS_GOGIT[@]}"; do
done if [[ -z "$platform" || "$target" == "$platform/"* ]]; then
build "$target" "gogit"
fi
done
fi
} }
main "$@" main "$@"