We don't need git commands when building .deb pkgs.

This commit is contained in:
Fabio Manganiello 2023-09-18 14:43:59 +02:00
parent 55d4523ea3
commit 9576141a3f

View file

@ -273,8 +273,6 @@ steps:
- 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"
@ -329,8 +327,6 @@ steps:
- 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"