Skip to content

Commit f806051

Browse files
committed
Last log improvement: SHA being used
1 parent 328ab8b commit f806051

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

git_update_scripts/generic-updater.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ fi
2020

2121
git --git-dir=/factorio/scenarios/"$folder"/.git/ --work-tree=/factorio/scenarios/"$folder"/ fetch "$repository" >/dev/null
2222
git --git-dir=/factorio/scenarios/"$folder"/.git/ --work-tree=/factorio/scenarios/"$folder"/ reset --hard "$repository/$branch" >/dev/null
23+
git rev-parse --short HEAD
2324

2425
if [ "$cleanup" = true ]; then
2526
echo "Deleting all map data."

git_update_scripts/update-from-args.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ repository=$2
4747
branch=$3
4848
map=$4
4949

50+
echo "Updating $folder..."
51+
5052
source /home/factorio/bin/generic-updater.sh
5153

5254
echo "$folder updated from $repository/$branch successfully with map: $map"

0 commit comments

Comments
 (0)