From 8bcb538e106bb26478c9bd98361cd125a944ee69 Mon Sep 17 00:00:00 2001 From: Tyler Date: Sun, 14 Oct 2018 04:40:05 -0400 Subject: [PATCH] Fix version check --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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