mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-29 07:30:25 +01:00
Account for nightly target name change
This commit is contained in:
parent
9c09182bd7
commit
e168f0f037
@ -5,7 +5,14 @@ set -eux
|
|||||||
ROOT=$(cd $(dirname $0) ; pwd)
|
ROOT=$(cd $(dirname $0) ; pwd)
|
||||||
TARGET=$1
|
TARGET=$1
|
||||||
IMAGE=snoyberg/stackage:$(echo $TARGET | cut -d- -f 1)
|
IMAGE=snoyberg/stackage:$(echo $TARGET | cut -d- -f 1)
|
||||||
TROOT=$ROOT/$(echo $TARGET | cut -d. -f 1)
|
|
||||||
|
if [ "$IMAGE" -eq "nightly"]
|
||||||
|
then
|
||||||
|
TROOT=$ROOT/nightly
|
||||||
|
else
|
||||||
|
TROOT=$ROOT/$(echo $TARGET | cut -d. -f 1)
|
||||||
|
fi
|
||||||
|
|
||||||
PLAN_FILE=current-plan.yaml
|
PLAN_FILE=current-plan.yaml
|
||||||
BUNDLE_FILE=current.bundle
|
BUNDLE_FILE=current.bundle
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user