diff --git a/.drone.yml b/.drone.yml index ab94c21..e1d78bd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,7 +36,7 @@ pipeline: package: image: tystuyfzand/fpm commands: - - export VERSION=`grep "VERSION" server.go | head -n 1 | awk '{print $5}' | sed -e 's/^"//' -e 's/"$//' | tr -d '\n'` + - export VERSION=`grep "VERSION" server.go | head -n 1 | awk '{print $4}' | sed -e 's/^"//' -e 's/"$//' | tr -d '\n'` - chmod +x packaging/build-package.sh packaging/package-upload.sh - ARCH=i386 packaging/build-package.sh - ARCH=amd64 packaging/build-package.sh