Récupération et chargement de variables locales via fichier .tamarinrc

This commit is contained in:
2016-04-18 15:14:38 +02:00
parent c1073a210e
commit b4ce2b696b
4 changed files with 24 additions and 21 deletions

View File

@ -6,6 +6,11 @@ if [ ! -f debian/changelog ]; then
exit
fi
if [ $(get_opt no_version_suffix 'no') == 'yes' ]; then
info "Not adding version suffix."
exit
fi
if [ -d .git ]; then
info "It seems to be a Git repository. Generating version suffix based on Git history..."
commit_count=$(git rev-list --count HEAD)