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"