Spaces:
Paused
Paused
Update init.sh
Browse files
init.sh
CHANGED
|
@@ -18,10 +18,10 @@ if [ -n "$GITHUB_PAT" ]; then
|
|
| 18 |
git clone -b "$BRANCH" "https://blendersb:${GITHUB_PAT}@github.com/blendersb/teleapi.git" "$TARGET_DIR"
|
| 19 |
cd "$TARGET_DIR"
|
| 20 |
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
|
| 26 |
echo "๐ Moving contents from $TARGET_DIR to $APP_DIR..."
|
| 27 |
shopt -s dotglob # include hidden files like .env, .gitignore
|
|
|
|
| 18 |
git clone -b "$BRANCH" "https://blendersb:${GITHUB_PAT}@github.com/blendersb/teleapi.git" "$TARGET_DIR"
|
| 19 |
cd "$TARGET_DIR"
|
| 20 |
|
| 21 |
+
echo "๐ Latest Git Commit:"
|
| 22 |
+
git log -1 --pretty=format:"๐น %h ๐น %s ๐น by %an ๐น on %ad" --date=short
|
| 23 |
+
echo
|
| 24 |
+
|
| 25 |
|
| 26 |
echo "๐ Moving contents from $TARGET_DIR to $APP_DIR..."
|
| 27 |
shopt -s dotglob # include hidden files like .env, .gitignore
|