Fix env var names in CI script
1 files changed, 4 insertions(+), 4 deletions(-)

M .build.yml
M .build.yml +4 -4
@@ 16,8 16,8 @@ tasks:
     - 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 @@ tasks:
     - 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