commitdetails=$(echo $describe | sed -e "s/^$version-//")
commitnum=$(echo $commitdetails | cut -d- -f1)
commithash=$(echo $commitdetails | cut -d- -f2)
commitdetails=$(echo $describe | sed -e "s/^$version-//")
commitnum=$(echo $commitdetails | cut -d- -f1)
commithash=$(echo $commitdetails | cut -d- -f2)