We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c32b43c commit 16265a0Copy full SHA for 16265a0
hash-version.sh
@@ -0,0 +1,3 @@
1
+#!/bin/sh
2
+HASH_VERSION=$(git rev-parse --short HEAD 2>/dev/null || find * -type f -name '*.go' -print0 | sort -z | xargs -0 sha1sum | sha1sum | sed -r 's/[^\da-f]+//g')
3
+echo $HASH_VERSION
0 commit comments