From 85febac2ae7d54dec088e29f0022d360e5a7d367 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 18 Sep 2023 12:03:16 +0200 Subject: [PATCH] Fixed the location of the target .deb file in the Drone CI script. --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index a0a38ba5b..c38696746 100644 --- a/.drone.yml +++ b/.drone.yml @@ -274,11 +274,11 @@ steps: - git pull --rebase origin master --tags - export VERSION=$(python setup.py --version) - export HEAD=$(git log --pretty=format:%h HEAD...HEAD~1) - - export GIT_VERSION="$VERSION.r$(git log --pretty=oneline HEAD...v$VERSION | wc -l).$HEAD" - export TAG_URL="https://git.platypush.tech/platypush/platypush/archive/v$VERSION.tar.gz" - export TAG_ARCHIVE="platypush-$VERSION.tar.gz" + - export GIT_VERSION="$VERSION.r$(git log --pretty=oneline HEAD...v$VERSION | wc -l).$HEAD" - export GIT_BUILD_DIR="$WORKDIR/$${GIT_PKG_NAME}_$${GIT_VERSION}_all" - - export GIT_PKGNAME="$GIT_BUILD_DIR/$${GIT_PKG_NAME}_$${GIT_VERSION}.deb" + - export GIT_DEB="$WORKDIR/$${GIT_PKG_NAME}_$${GIT_VERSION}.deb" - echo "--- Building git package" - pip install --prefix="$GIT_BUILD_DIR" --no-cache --no-deps . @@ -294,7 +294,7 @@ steps: Description: Universal command executor and automation hub. EOF - dpkg --build "$GIT_BUILD_DIR" - - aws s3 cp "$GIT_PKGNAME" s3://platypush-static/deb/git/ + - aws s3 cp "$GIT_DEB" s3://platypush-static/deb/git/ - name: update-pip-package image: python:3.11-alpine