1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/testing/anki/scripts_status.patch
2022-04-23 09:30:50 +00:00

7 lines
262 B
Diff

--- 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)"