Skip to content

Commit 7903722

Browse files
authored
[CI] Add internal commit script (open-telemetry#6308)
1 parent 4bb13b7 commit 7903722

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"_check:markdown": "npx gulp lint-md",
1919
"_check:registry": "npx gulp validate-registry",
2020
"_check:text": "npx textlint content data `ls *.md`",
21+
"_commit:public": "HASH=$(git rev-parse --short main); cd public && git add -A && git commit -m \"Site at $HASH\"",
2122
"_diff:check": "git diff --name-only --exit-code",
2223
"_diff:fail": "git diff --name-only --exit-code || exit 1",
2324
"_fail": "exit 1",

0 commit comments

Comments
 (0)