We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e5f7f4 commit 5bd5c59Copy full SHA for 5bd5c59
gh-metrics-push.sh
@@ -14,14 +14,18 @@ METRICS_DIR="$ASSETS_DIR/metriclists"
14
mkdir -p "$METRICS_DIR/"
15
16
# Remove old files so we spot deletions
17
-rm -f "$METRICS_DIR/*.unique"
+rm -f "$METRICS_DIR/.*.unique"
18
+
19
+ls -la
20
21
# Copy new files
22
cp -f -t "$METRICS_DIR/" ./.metrics.*.prom.unique || exit 1
23
24
# Enter the assets dir and push.
25
cd "$ASSETS_DIR" || exit 1
26
27
+ls -laR
28
29
git add "$METRICS_DIR" || exit 1
30
git commit -m "Added unique metrics for build from $version" || exit 1
31
git push origin "$GIT_ASSETS_BRANCH" || exit 1
0 commit comments