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