[Buildkite] Fix AUR version tagging (#645)
Need to fetch all tags prior to extracting the correct version.pull/643/head^2
parent
447b2461e4
commit
4c09df9868
|
@ -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}"
|
||||||
|
|
Loading…
Reference in New Issue