Skip to content

Commit 57ade8b

Browse files
build: print out commit hash of submodule on build
1 parent 3627a28 commit 57ade8b

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

scripts/generate-linux.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
set -euo pipefail
44

5-
echo "Making sure the submodule is initialized..."
6-
git submodule update --init --recursive
5+
printf "\nSubmodule check...\n"
6+
git submodule update --init
7+
printf "Submodule is checked out at commit: $(git submodule status)\n\n"
78

89
echo "Setting up Python dependencies..."
910
${PYBIN}/python --version

scripts/generate-macos-arm64.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
set -euo pipefail
44

5-
echo "Making sure the submodule is initialized..."
6-
git submodule update --init --recursive
5+
printf "\nSubmodule check...\n"
6+
git submodule update --init
7+
printf "Submodule is checked out at commit: $(git submodule status)\n\n"
78

89
echo "Setting up Python dependencies..."
910
python3 --version

scripts/generate-macos-x86_64.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
set -euo pipefail
44

5-
echo "Making sure the submodule is initialized..."
6-
git submodule update --init --recursive
5+
printf "\nSubmodule check...\n"
6+
git submodule update --init
7+
printf "Submodule is checked out at commit: $(git submodule status)\n\n"
78

89
echo "Setting up Python dependencies..."
910
python3 --version

scripts/generate-windows.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
set -euo pipefail
44

5-
echo "Making sure the submodule is initialized..."
6-
git submodule update --init --recursive
5+
printf "\nSubmodule check...\n"
6+
git submodule update --init
7+
printf "Submodule is checked out at commit: $(git submodule status)\n\n"
78

89
echo "Setting up Python dependencies..."
910
python3 --version

0 commit comments

Comments
 (0)