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