[internal] update AppVeyor build script and add Coverity support

* Also only apply a git tag if on the master branch
This commit is contained in:
Pete Batard 2018-06-18 15:47:32 +01:00
parent 9afd1d05dd
commit e4b7b9cfd6
3 changed files with 53 additions and 9 deletions

View file

@ -12,5 +12,8 @@
type -P git &>/dev/null || { echo "git command not found. Aborting." >&2; exit 1; }
TAGVER=`cat ./.tag`
git tag "b$TAGVER"
# Only apply a tag if we're dealing with the master branch
if [ "`git rev-parse --abbrev-ref HEAD`" == "master" ]; then
git tag "b$TAGVER"
fi
rm ./.tag