12 head=$(git rev-parse --verify --short HEAD)
13 printf "~git-%s" "$head"
16 [ -f "$FILE" ] || touch "$FILE"
18 old_version=$(< "$FILE")
19 version=$(printf '"%s"\n' "$(compute_version)")
21 if [ "$version" != "$old_version" ]; then
22 echo "$version" > "$FILE"