logo

badwolf

Minimalist and privacy-oriented WebKitGTK+ browser
commit: 8d0f286b6fe1067ff98c25f0956af0517a0e0e7a
parent: 768ad801aaac4012b94131f00040e3b9dc629773
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 23 Jul 2019 13:18:41 +0200

version.sh: New file

Diffstat:

Aversion.sh9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/version.sh b/version.sh @@ -0,0 +1,9 @@ +#!/bin/sh +echo -n '0.3.0' +hash=$(git --git-dir="$(dirname $0)/.git" rev-parse --short HEAD 2>/dev/null) + +if [ -n "$hash" ] +then + printf '+g%s' "$hash" +fi +echo