yggdrasil-go/contrib/semver/version.sh

6 lines
198 B
Bash
Raw Normal View History

2018-03-05 19:34:23 +00:00
#!/bin/sh
2021-06-05 20:32:18 +00:00
# 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