feat: add commit hash in joj3-forge-convert
All checks were successful
push / build (push) Successful in 2m37s

This commit is contained in:
张泊明518370910136 2025-07-26 00:17:41 -07:00
parent 8154a1307e
commit 613e7fc1a7
GPG Key ID: CA088E6D9284F870

View File

@ -57,7 +57,8 @@ EOF
rsync -a --delete "/home/tt/.config/joj/" "$config_repo_path/home/tt/.config/joj"
git -C "$config_repo_path" add home/tt/.config/joj
if ! git -C "$config_repo_path" diff --staged --quiet; then
git -C "$config_repo_path" commit -m "chore: joj3-forge convert [skip ci]"
commit_hash=$(git rev-parse HEAD)
git -C "$config_repo_path" commit -m "chore: $commit_hash trigger joj3-forge convert [skip ci]"
git -C "$config_repo_path" push
fi
if [ -n "${TEAPOT_GITEA_TOKEN:-}" ]; then