Add version badges generation to build

Add version badge generation using shields.io service. The badge
is uploaded to a fixed Azure BLOB location which can be referenced
from README.md. Since the badge creation is not crucial, do not fail the build
if it cannot be created.

Fix #1000
This commit is contained in:
Zlatko Knezevic 2016-01-27 22:00:58 -08:00
parent 2d04bdcd17
commit 95f059697f
4 changed files with 31 additions and 0 deletions

View file

@ -46,6 +46,9 @@ execute(){
elif [[ $UPLOAD_FILE == *.tar.gz ]]; then
upload_binaries_to_blob_storage $UPLOAD_FILE
result=$?
elif [[ $UPLOAD_FILE == *.svg ]]; then
upload_file_to_blob_storage_azure_cli "dev/Binaries/Latest/$(basename $UPLOAD_FILE)" $UPLOAD_FILE
result=0
fi
exit $result