cd '/usr/src/sonstiges/dbmodel' git fetch --all >/dev/null 2>&1 commit=$( git rev-parse upstream/master ) printf '%s.r%s.%s\n' \ "$( git archive "${commit}" -- 'src/src.pro' | \ sed -n ' s/^VERSION = // T p ' )" \ "$( git rev-list --count "${commit}" )" \ "${commit:0:12}"