build.sh: bump stack to stable 2.13.1 release for nightly and lts

This commit is contained in:
Jens Petersen 2023-11-21 13:21:03 +08:00
parent 0ae350f8b4
commit c0d9fa8f53

View File

@ -69,14 +69,9 @@ chmod +x curator
echo -n "curator version: "
docker run --rm -v $(pwd)/curator:/exe $IMAGE /exe --version
if [ $SHORTNAME = "lts" ]
then
STACK_VERSION=2.11.1
else
STACK_VERSION=2.13.1
# rc url
#curl -L https://github.com/commercialhaskell/stack/releases/download/rc%2Fv${STACK_VERSION}/stack-${STACK_VERSION}-linux-x86_64-bin > stack
fi
STACK_VERSION=2.13.1
# rc url
#curl -L https://github.com/commercialhaskell/stack/releases/download/rc%2Fv${STACK_VERSION}/stack-${STACK_VERSION}-linux-x86_64-bin > stack
curl -L https://github.com/commercialhaskell/stack/releases/download/v${STACK_VERSION}/stack-${STACK_VERSION}-linux-x86_64-bin > stack
chmod +x stack
echo -n "stack version: "