summaryrefslogtreecommitdiff
path: root/contrib/get_version.sh
blob: eaa011aba7be5d451d459c79071bfdce0352b684 (plain)
1
2
3
4
5
#!/bin/bash
VERSION=$(git describe --tags | tr -d '\n')
VERSION=${VERSION:1:${#VERSION}}
echo $VERSION > .version
echo  $VERSION