From 868bec8ba5e20a3e1500ce9cfae81f2f7dd26950 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 18 Sep 2023 11:59:03 +0200 Subject: [PATCH] One more fix for variable names in Drone CI script. --- .drone.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4065635e9f..a0a38ba5bf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -277,14 +277,14 @@ steps: - 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_BUILD_DIR="$WORKDIR/$GIT_PKG_NAME_$GIT_VERSION_all" - - export PKGNAME="$WORKDIR/$${GIT_PKG_NAME}_$${GIT_VERSION}.deb" + - export GIT_BUILD_DIR="$WORKDIR/$${GIT_PKG_NAME}_$${GIT_VERSION}_all" + - export GIT_PKGNAME="$GIT_BUILD_DIR/$${GIT_PKG_NAME}_$${GIT_VERSION}.deb" - echo "--- Building git package" - pip install --prefix="$GIT_BUILD_DIR" --no-cache --no-deps . - - mkdir -p "$GIT_BUILD_DIR/__all/DEBIAN" + - mkdir -p "$GIT_BUILD_DIR/DEBIAN" - | - cat < "$GIT_BUILD_DIR/__all/DEBIAN/control" + cat < "$GIT_BUILD_DIR/DEBIAN/control" Package: $GIT_PKG_NAME Version: $GIT_VERSION Maintainer: Fabio Manganiello @@ -294,7 +294,7 @@ steps: Description: Universal command executor and automation hub. EOF - dpkg --build "$GIT_BUILD_DIR" - - aws s3 cp "$PKGNAME" s3://platypush-static/deb/git/ + - aws s3 cp "$GIT_PKGNAME" s3://platypush-static/deb/git/ - name: update-pip-package image: python:3.11-alpine