From 7a60382cdce15b358465c8f41012a394e060d709 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Wed, 30 Oct 2024 08:22:32 +0100 Subject: [PATCH] When a new version of pip is available, show changes in micropipenv first --- .github/workflows/update_supported_pip.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/update_supported_pip.sh b/.github/workflows/update_supported_pip.sh index 1634775..e93a7b6 100755 --- a/.github/workflows/update_supported_pip.sh +++ b/.github/workflows/update_supported_pip.sh @@ -12,6 +12,9 @@ sed -i "/_SUPPORTED_PIP_STR/s/<=[^\"]*\"/<=$PIP_VERSION\"/" micropipenv.py if [[ -n $(git status --porcelain --untracked-files=no) ]]; then echo "New pip available" + # Show the diff first + git --no-pager diff + # Commit the change git config --global user.email "lbalhar@redhat.com" git config --global user.name "Lumír Balhar"