diff --git a/.drone.yml b/.drone.yml index a650bb65ae..bd44aa9a99 100644 --- a/.drone.yml +++ b/.drone.yml @@ -368,7 +368,7 @@ steps: - git pull --rebase origin master --tags - export VERSION=$(python setup.py --version) - export HEAD=$(git log --pretty=format:%h HEAD...HEAD~1 | head -1) - - export GIT_VERSION="$VERSION.r$(git log --pretty=oneline HEAD...v$VERSION | wc -l).$HEAD" + - export GIT_VERSION="$VERSION.r$(git log --pretty=oneline HEAD...v$VERSION | wc -l).g$${HEAD}" - export TAG_URL="https://git.platypush.tech/platypush/platypush/archive/v$VERSION.tar.gz" - echo "--- Preparing environment"