(We actually do need git here)
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Fabio Manganiello 2023-09-18 14:46:30 +02:00
parent 9576141a3f
commit 4bb3bcff8b

View file

@ -269,10 +269,12 @@ steps:
commands: commands:
- echo "-- Installing dependencies" - echo "-- Installing dependencies"
- apt update - 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 - pip install awscli --break-system-packages
- echo "--- Parsing metadata" - echo "--- Parsing metadata"
- git config --global --add safe.directory $PWD
- git pull --rebase origin master --tags
- export VERSION=$(python setup.py --version) - export VERSION=$(python setup.py --version)
- export HEAD=$(git log --pretty=format:%h HEAD...HEAD~1) - export HEAD=$(git log --pretty=format:%h HEAD...HEAD~1)
- export TAG_URL="https://git.platypush.tech/platypush/platypush/archive/v$VERSION.tar.gz" - export TAG_URL="https://git.platypush.tech/platypush/platypush/archive/v$VERSION.tar.gz"
@ -323,10 +325,12 @@ steps:
commands: commands:
- echo "-- Installing dependencies" - echo "-- Installing dependencies"
- apt update - apt update
- apt install -y dpkg-dev gpg python3 python3-pip - apt install -y dpkg-dev gpg git python3 python3-pip
- pip install awscli - pip install awscli
- echo "--- Parsing metadata" - echo "--- Parsing metadata"
- git config --global --add safe.directory $PWD
- git pull --rebase origin master --tags
- export VERSION=$(python setup.py --version) - export VERSION=$(python setup.py --version)
- export HEAD=$(git log --pretty=format:%h HEAD...HEAD~1) - export HEAD=$(git log --pretty=format:%h HEAD...HEAD~1)
- export TAG_URL="https://git.platypush.tech/platypush/platypush/archive/v$VERSION.tar.gz" - export TAG_URL="https://git.platypush.tech/platypush/platypush/archive/v$VERSION.tar.gz"