#!/bin/bash PACKAGE_NAME=version REF=$(git show -s --format=%h -1) VERSION=$VERSION-$REF if [[ -z $VERSION ]] ; then VERSION=$(git describe --tags) fi cat <