Change package path

This commit is contained in:
Tyler 2018-04-03 23:39:55 -04:00
parent d1028908bd
commit 77d4cd1d49
3 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
before_script:
- export VERSION=1.1.0
- export VERSION=1.1.1
- chmod +x packaging/build-package.sh packaging/package-upload.sh
stages:
@ -28,4 +28,4 @@ package:
- packaging/package-upload.sh
artifacts:
paths:
- build
- out

View File

@ -1,4 +1,5 @@
fpm -s dir -t deb -p build/arm-web_$VERSION.deb \
mkdir -p out || true
fpm -s dir -t deb -p out/arm-web_$VERSION.deb \
-n arm-web -v $VERSION \
--deb-priority optional --force \
--deb-compression bzip2 \

View File

@ -1 +1 @@
curl -X POST "$UPLOAD_URL" -F "file=@build/arm-web_$VERSION.deb"
curl -X POST "$UPLOAD_URL" -F "file=@out/arm-web_$VERSION.deb"