build.sh: try to disable hackage distro upload for lts-22 & 23

to prevent overwriting lts-24 data
This commit is contained in:
Jens Petersen 2025-08-17 18:38:23 +08:00
parent 006ce47787
commit dbc09f8c80

View File

@ -182,7 +182,13 @@ docker run $ARGS_UPLOAD -e "CURATOR_AWS_OPTIONS=--only-show-errors" $IMAGE /bin/
"
date
docker run $ARGS_UPLOAD $IMAGE curator hackage-distro --target $TARGET
case $TARGET in
lts-22.*) ;;
lts-23.*) ;;
*)
docker run $ARGS_UPLOAD $IMAGE curator hackage-distro --target $TARGET
;;
esac
# Build and push docker image fpco/stack-build & fpco/stack-build-small for current release