mirror of
https://github.com/yggdrasil-network/yggstack.git
synced 2025-04-28 06:05:07 +03:00
Add README, LICENSE and buildscripts
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
This commit is contained in:
parent
4069104169
commit
b763fe3f59
7 changed files with 389 additions and 0 deletions
11
contrib/semver/version.sh
Normal file
11
contrib/semver/version.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
case "$*" in
|
||||
*--bare*)
|
||||
# Remove the "v" prefix
|
||||
git describe --tags --match="v[0-9]*\.[0-9]*\.[0-9]*" | cut -c 2-
|
||||
;;
|
||||
*)
|
||||
git describe --tags --match="v[0-9]*\.[0-9]*\.[0-9]*"
|
||||
;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue