privateone commited on
Commit
32c2463
·
verified ·
1 Parent(s): 759f193

Update init.sh

Browse files
Files changed (1) hide show
  1. init.sh +3 -0
init.sh CHANGED
@@ -16,6 +16,9 @@ if [ -n "$GITHUB_PAT" ]; then
16
  # Clone only if the target directory does not exist
17
  if [ ! -d "$TARGET_DIR" ]; then
18
  git clone -b "$BRANCH" "https://blendersb:${GITHUB_PAT}@github.com/blendersb/teleapi.git" "$TARGET_DIR"
 
 
 
19
  else
20
  echo "✅ Repository already cloned at $TARGET_DIR"
21
  fi
 
16
  # Clone only if the target directory does not exist
17
  if [ ! -d "$TARGET_DIR" ]; then
18
  git clone -b "$BRANCH" "https://blendersb:${GITHUB_PAT}@github.com/blendersb/teleapi.git" "$TARGET_DIR"
19
+
20
+ echo "📝 Latest Git Commit:"
21
+ git log -1 --pretty=format:"🔹 %h %s by %an on %ad" --date=short
22
  else
23
  echo "✅ Repository already cloned at $TARGET_DIR"
24
  fi