[Buildkite] Fix AUR version tagging (#645)

Need to fetch all tags prior to extracting the correct version.
pull/643/head^2
Amir Zarrinkafsh 2020-02-20 11:04:07 +11:00 committed by GitHub
parent 447b2461e4
commit 4c09df9868
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#! /bin/bash #! /bin/bash
git fetch && \
GITTAG=$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g') GITTAG=$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')
echo "--- :linux: Deploy AUR package: ${PACKAGE}" echo "--- :linux: Deploy AUR package: ${PACKAGE}"