From 864ac32228a38971889dfc76090cca746edc8f7b Mon Sep 17 00:00:00 2001 From: Tyler Date: Mon, 11 Sep 2017 00:03:31 -0400 Subject: [PATCH] Fix before script --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e4cda35..9dc618e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,6 @@ image: git.meow.tf:4567/tyler/golang-glide:1.8 -before: - script: +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 @@ -10,6 +9,7 @@ stages: - package build: + stage: build script: - export GOPATH=`pwd` - cd $CI_PROJECT_DIR/src/meow.tf/deb-simple