Remote and branch should be specified in git pull --tags
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Fabio Manganiello 2023-08-06 00:57:00 +02:00
parent f9c74a3c98
commit 063697c824
Signed by: blacklight
GPG Key ID: D90FBA7F76362774
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ steps:
- echo "--- Parsing metadata"
- git config --global --add safe.directory $PWD
- git pull --tags
- git pull origin master --tags
- export VERSION=$(python setup.py --version)
- export HEAD=$(git log | head -1 | awk '{printf "%.8s", $2}')
- export GIT_VERSION="$VERSION.r$(git log --pretty=oneline HEAD...v$VERSION | wc -l).$HEAD"