Fix before script
This commit is contained in:
parent
e202581402
commit
864ac32228
|
@ -1,7 +1,6 @@
|
||||||
image: git.meow.tf:4567/tyler/golang-glide:1.8
|
image: git.meow.tf:4567/tyler/golang-glide:1.8
|
||||||
|
|
||||||
before:
|
before_script:
|
||||||
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'`
|
- 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
|
- chmod +x packaging/build-package.sh
|
||||||
|
|
||||||
|
@ -10,6 +9,7 @@ stages:
|
||||||
- package
|
- package
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
stage: build
|
||||||
script:
|
script:
|
||||||
- export GOPATH=`pwd`
|
- export GOPATH=`pwd`
|
||||||
- cd $CI_PROJECT_DIR/src/meow.tf/deb-simple
|
- cd $CI_PROJECT_DIR/src/meow.tf/deb-simple
|
||||||
|
|
Loading…
Reference in New Issue