# HG changeset patch # User Sean E. Russell # Date 1613414623 21600 # Mon Feb 15 12:43:43 2021 -0600 # Node ID 19a913b5b31fd78bf666dc5c50ada28f4637f3d1 # Parent 6a385a49795662b721ec2aa374fec612ceeeb99f Fix env var names in CI script diff --git a/.build.yml b/.build.yml --- a/.build.yml +++ b/.build.yml @@ -16,8 +16,8 @@ - build: | cd ${PROJ} for TARG in linux:amd64 linux:386 windows:amd64 darwin:amd64; do - GOOS=$(echo $T | cut -d: -f1) - GOARCH=$(echo $T | cut -d: -f2) + GOOS=$(echo $TARG | cut -d: -f1) + GOARCH=$(echo $TARG | cut -d: -f2) DATE=$(hg log -r tip --template '{date|shortdate}') ASSET=sbb_${GOOS}_${GOARCH}_${DATE} [[ $GOOS == "windows" ]] && ASSET=${ASSET}.exe @@ -26,8 +26,8 @@ - upload: | cd ${PROJ} for TARG in linux:amd64 linux:386 windows:amd64 darwin:amd64; do - GOOS=$(echo $T | cut -d: -f1) - GOARCH=$(echo $T | cut -d: -f2) + GOOS=$(echo $TARG | cut -d: -f1) + GOARCH=$(echo $TARG | cut -d: -f2) DATE=$(hg log -r tip --template '{date|shortdate}') ASSET=sbb_${GOOS}_${GOARCH}_${DATE} if [[ $GOOS == "windows" ]]; then