Commit 6eb8dcb6 authored by Ivan Mazhukin's avatar Ivan Mazhukin Committed by Vitaly Lipatov

epm play yucca: fix getting version (eterbug #17865)

parent 1acb013d
......@@ -20,7 +20,7 @@ case $(epm print info -a) in
esac
if [ "$VERSION" = "*" ] ; then
VERSION=$(eget --list --latest "https://docs.yucca.app/releases/" | grep -oP 'v\K[0-9]+\.[0-9]+\.[0-9]+')
VERSION=$(eget -O- https://releases.yucca.app/latest/VERSION.txt)
fi
PKGURL="https://releases.yucca.app/v${VERSION}/yucca_${VERSION}_linux_${arch}.tar.gz"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment