From 5bb18cc458a19f2e909c5e9c01ba131bc34d85fd Mon Sep 17 00:00:00 2001 From: Tyler Date: Mon, 11 Sep 2017 21:17:24 -0400 Subject: [PATCH] Export GOPATH every time --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8138c6b..772ca21 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,7 @@ image: git.meow.tf:4567/tyler/golang-glide:1.8 before_script: - export VERSION=`grep "VERSION" src/meow.tf/deb-simple/server.go | head -n 1 | awk '{print $5}' | sed -e 's/^"//' -e 's/"$//' | tr -d '\n'` - chmod +x packaging/build-package.sh + - export GOPATH=`pwd` stages: - init @@ -17,7 +18,6 @@ cache: glide-install: stage: init script: - - export GOPATH=`pwd` - cd $CI_PROJECT_DIR/src/meow.tf/deb-simple - glide install - cd $CI_PROJECT_DIR