yggdrasil-go/contrib/semver/version.sh
2021-06-05 21:32:18 +01:00

6 lines
198 B
Bash

#!/bin/sh
# We'll just use the `git describe` version since it's reasonably
# easy to refer to a tag or commit using the describe output.
git describe --match="v[0-9]*\.[0-9]*\.[0-9]*" 2>/dev/null