#!/bin/sh
GIT_VERSION=$(git --no-pager describe --tags --dirty |sed 's/\([^-]*-g\)/r\1/;s/-/./g')
echo -ne ${GIT_VERSION}