More specific glob for metric files.

This commit is contained in:
Will Rouesnel 2018-11-11 17:13:06 +11:00
parent df0bb41a13
commit 711ab8490b
No known key found for this signature in database
GPG Key ID: 72DC65802A1091C5

View File

@ -17,7 +17,7 @@ mkdir -p "$METRICS_DIR/"
rm -f "$METRICS_DIR/*.unique"
# Copy new files
cp -f -t "$METRICS_DIR/" ./*.unique || exit 1
cp -f -t "$METRICS_DIR/" ./.metrics.*.prom.unique || exit 1
# Enter the assets dir and push.
cd "$ASSETS_DIR" || exit 1