Fix version check
the build was successful Details

This commit is contained in:
Tyler 2018-10-14 04:40:05 -04:00
parent b0e3d80022
commit 8bcb538e10
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ pipeline:
package: package:
image: tystuyfzand/fpm image: tystuyfzand/fpm
commands: 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 - chmod +x packaging/build-package.sh packaging/package-upload.sh
- ARCH=i386 packaging/build-package.sh - ARCH=i386 packaging/build-package.sh
- ARCH=amd64 packaging/build-package.sh - ARCH=amd64 packaging/build-package.sh