[Buildkite] Fix AUR version tagging (#645)

Need to fetch all tags prior to extracting the correct version.
This commit is contained in:
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

View File

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