diff options
Diffstat (limited to 'scripts/ci/update-stack-resolvers.sh')
-rwxr-xr-x | scripts/ci/update-stack-resolvers.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/ci/update-stack-resolvers.sh b/scripts/ci/update-stack-resolvers.sh index d0dacd1..4a20c14 100755 --- a/scripts/ci/update-stack-resolvers.sh +++ b/scripts/ci/update-stack-resolvers.sh @@ -13,10 +13,11 @@ resolvers=$(cat /tmp/stack-resolvers/snapshots.json \ for res in $resolvers; do wget -q --continue \ -O /tmp/stack-resolvers/$res.yaml \ - https://raw.githubusercontent.com/fpco/lts-haskell/master/$res.yaml + https://raw.githubusercontent.com/commercialhaskell/lts-haskell/master/$res.yaml ghc=$(cat /tmp/stack-resolvers/$res.yaml \ | grep ghc-version | awk '{ print $2 }' | tr -cd '0-9.') + [ -z "$ghc" ] && continue printf '%-10s %s\n' "$ghc" "$res" done |