Skip to content

Commit fd5d99f

Browse files
authored
Add diff debug in CI in commit.sh
1 parent 8282ef9 commit fd5d99f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

scripts/commit.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,17 @@ if [ -n "${untracked_files+x}" ]; then
2828
git add -v $untracked_files
2929
fi
3030

31+
# Debug in GitHub Actions
32+
set +u
33+
if [ -n "${CI+x}" ]; then
34+
echo "::group::status"
35+
git status
36+
echo "::endgroup::"
37+
echo "::group::diff"
38+
git diff
39+
echo "::endgroup::"
40+
fi
41+
set -u
42+
3143
# Commit only if there is any cached file
3244
git diff-index --cached --quiet HEAD || { git add -v $extra_files; git commit -vm "Update translations"; }

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy