Fix version check
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
b0e3d80022
commit
8bcb538e10
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue