5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-22 18:50:27 +00:00
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