1#!/bin/sh 2 3gitver=$(git describe 2>/dev/null | tr - .) 4filever=$(cat VERSION) 5 6version=${gitver} 7: ${version:=$filever} 8 9echo "$version" 10