script fixes

This commit is contained in:
davidnewhall2 2020-02-04 16:37:15 -08:00
parent 0519ee682a
commit d9028d98d6
1 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,8 @@ if [ "$TRAVIS_COMMIT_RANGE" = "" ]; then
fi
CHANGES=$(git diff --name-only --diff-filter=AM $TRAVIS_COMMIT_RANGE)
echo "CHANGED: $CHANGES"
echo "CHANGED (per git):"
echo "$CHANGES"
declare -a DASHMAP
@ -121,6 +122,8 @@ function deploy {
curl -H "Content-Type: multipart/form-data" -H "Authorization: Bearer ${GRAFANA_API_KEY}" \
"https://grafana.com/api/dashboards/$i/revisions" --form "json=@${WHERE}${DASHMAP[$i]};type=application/json"
echo
done
}