--- a/scripts/status.sh +++ b/scripts/status.sh @@ -1,3 +1,3 @@ #!/bin/bash -echo "STABLE_BUILDHASH $(git rev-parse --short=8 HEAD || echo nogit)" +echo "STABLE_BUILDHASH $(git ls-remote https://github.com/ankitects/anki.git refs/tags/PKGVER^{} | cut -c -8)"