mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 23:08:30 +01:00
build.sh: rename work/lts-XX to work/ltsXX (ie same as TAG)
This commit is contained in:
parent
0607f85a47
commit
74fd692a6d
@ -23,7 +23,6 @@ SHORTNAME=$(echo $TARGET | cut -d- -f 1)
|
||||
if [ $SHORTNAME = "lts" ]
|
||||
then
|
||||
TAG=$(echo $TARGET | sed 's@^lts-\([0-9]*\)\.[0-9]*@lts\1@')
|
||||
WORKDIR=$ROOT/work/$(echo $TARGET | sed 's@^lts-\([0-9]*\)\.[0-9]*@lts-\1@')
|
||||
if [ -n "${NOPLAN:-}" ]
|
||||
then
|
||||
echo '* DO NOT EDIT work/ files: commit to lts-haskell/build-constraints! *'
|
||||
@ -31,10 +30,9 @@ then
|
||||
fi
|
||||
else
|
||||
TAG=$SHORTNAME
|
||||
WORKDIR=$ROOT/work/$TAG
|
||||
fi
|
||||
WORKDIR=$ROOT/work/$TAG
|
||||
|
||||
#IMAGE=commercialhaskell/stackage:$TAG
|
||||
IMAGE=ghcr.io/commercialhaskell/stackage/build:$TAG
|
||||
|
||||
docker pull $IMAGE
|
||||
|
||||
Loading…
Reference in New Issue
Block a user