Skip to content

Commit 5bd5c59

Browse files
committed
Debug metric push.
1 parent 1e5f7f4 commit 5bd5c59

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: gh-metrics-push.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,18 @@ METRICS_DIR="$ASSETS_DIR/metriclists"
1414
mkdir -p "$METRICS_DIR/"
1515

1616
# Remove old files so we spot deletions
17-
rm -f "$METRICS_DIR/*.unique"
17+
rm -f "$METRICS_DIR/.*.unique"
18+
19+
ls -la
1820

1921
# Copy new files
2022
cp -f -t "$METRICS_DIR/" ./.metrics.*.prom.unique || exit 1
2123

2224
# Enter the assets dir and push.
2325
cd "$ASSETS_DIR" || exit 1
2426

27+
ls -laR
28+
2529
git add "$METRICS_DIR" || exit 1
2630
git commit -m "Added unique metrics for build from $version" || exit 1
2731
git push origin "$GIT_ASSETS_BRANCH" || exit 1

0 commit comments

Comments
 (0)