Skip to content
Snippets Groups Projects
Commit 9bd0d5ed authored by Pavel Vondruska's avatar Pavel Vondruska
Browse files

guess latest tag

parent cb57f4f8
No related branches found
No related tags found
No related merge requests found
Pipeline #11276 passed
......@@ -27,9 +27,11 @@ EOSOURCES
# Instalace buildovacich veci a zavislosti
apt update -qqq
apt install -yqqq git devscripts equivs xfslibs-dev libblkid-dev
apt install -yqqq git devscripts jq equivs xfslibs-dev libblkid-dev
git clone --depth 1 --branch 7.4.5 https://github.com/ThinkParQ/beegfs
BEEVERSION=${BEEVERSION:-$(curl -L -s https://api.github.com/repos/ThinkParQ/beegfs/tags | jq -r '.[0].name')}
git clone --depth 1 --branch ${BEEVERSION} https://github.com/ThinkParQ/beegfs
cd beegfs
......@@ -37,7 +39,7 @@ cd beegfs
mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --yes' debian/control
make package-deb PACKAGE_DIR=packages BEEGFS_VERSION=7.4.5
make package-deb PACKAGE_DIR=packages BEEGFS_VERSION=${BEEVERSION}-${VERSION_CODENAME}
cd ..
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment