From 4bb3bcff8be59efff1484b7acc4c8ed537422425 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 18 Sep 2023 14:46:30 +0200 Subject: [PATCH] (We actually do need git here) --- .drone.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4ac5ebc0b..b70ce0ed8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -269,10 +269,12 @@ steps: commands: - echo "-- Installing dependencies" - apt update - - apt install -y dpkg-dev gpg python3 python3-pip + - apt install -y dpkg-dev gpg git python3 python3-pip - pip install awscli --break-system-packages - echo "--- Parsing metadata" + - git config --global --add safe.directory $PWD + - git pull --rebase origin master --tags - export VERSION=$(python setup.py --version) - export HEAD=$(git log --pretty=format:%h HEAD...HEAD~1) - export TAG_URL="https://git.platypush.tech/platypush/platypush/archive/v$VERSION.tar.gz" @@ -323,10 +325,12 @@ steps: commands: - echo "-- Installing dependencies" - apt update - - apt install -y dpkg-dev gpg python3 python3-pip + - apt install -y dpkg-dev gpg git python3 python3-pip - pip install awscli - echo "--- Parsing metadata" + - git config --global --add safe.directory $PWD + - git pull --rebase origin master --tags - export VERSION=$(python setup.py --version) - export HEAD=$(git log --pretty=format:%h HEAD...HEAD~1) - export TAG_URL="https://git.platypush.tech/platypush/platypush/archive/v$VERSION.tar.gz"