ci: sr.ht: fix git ref
authorMichael Wallner <mike@php.net>
Mon, 21 Dec 2020 20:56:32 +0000 (21:56 +0100)
committerMichael Wallner <mike@php.net>
Mon, 21 Dec 2020 20:56:32 +0000 (21:56 +0100)
.builds/scripts/notify-gitter

index f16c2fe48c418219a0505f209783eb3bc42878dd..c5f1f2bd8c7fb5005bb438201600d80a2b6f36a9 100755 (executable)
@@ -5,7 +5,7 @@ GITTER=$(cat ~/.gitter)
 STATUS=$1
 
 REPO=m6w6/libmemcached
-REF=$(git describe --abbrev --always libmemcached)
+REF=$(GIT_DIR=libmemcached/.git git describe --abbrev --always)
 REF_URL=https://github.com/${REPO}/commits/${REF}
 
 BUILD_URL=${JOB_URL}