diff --git a/bin/gen-ver.sh b/bin/gen-ver.sh new file mode 100755 index 000000000..ab810167a --- /dev/null +++ b/bin/gen-ver.sh @@ -0,0 +1,4 @@ +#!/bin/bash +COMMIT_HASH=$(git rev-parse HEAD) +TIMESTAMP=$(date +%Y%m%d%H%M%S) +echo "v0.0.0-$TIMESTAMP-$COMMIT_HASH" \ No newline at end of file