From 4c09df9868deb18a8ad43604835e2a0156864216 Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Thu, 20 Feb 2020 11:04:07 +1100 Subject: [PATCH] [Buildkite] Fix AUR version tagging (#645) Need to fetch all tags prior to extracting the correct version. --- .buildkite/steps/aurhelper.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.buildkite/steps/aurhelper.sh b/.buildkite/steps/aurhelper.sh index af961d04a..5c9e98223 100755 --- a/.buildkite/steps/aurhelper.sh +++ b/.buildkite/steps/aurhelper.sh @@ -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}"