From 77d4cd1d49010b8f21855e4c9654d8b4db7382c3 Mon Sep 17 00:00:00 2001 From: Tyler Date: Tue, 3 Apr 2018 23:39:55 -0400 Subject: [PATCH] Change package path --- .gitlab-ci.yml | 4 ++-- packaging/build-package.sh | 3 ++- packaging/package-upload.sh | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8639110..489a6c6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/packaging/build-package.sh b/packaging/build-package.sh index 6b3fcf0..cdc055e 100644 --- a/packaging/build-package.sh +++ b/packaging/build-package.sh @@ -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 \ diff --git a/packaging/package-upload.sh b/packaging/package-upload.sh index 05a46f5..858a8a9 100644 --- a/packaging/package-upload.sh +++ b/packaging/package-upload.sh @@ -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"