Run sha=$(git rev-parse --short=12 HEAD)
2026-05-29T08:50:18.9499005Z sha=$(git rev-parse --short=12 HEAD)
2026-05-29T08:50:18.9499740Z parent_count=$(git cat-file -p HEAD | grep -c "^parent ") || true
2026-05-29T08:50:18.9500465Z if [ "${parent_count:-0}" -ge 2 ]; then
2026-05-29T08:50:18.9501053Z git rev-parse --short=12 HEAD^2 > revision.txt
2026-05-29T08:50:18.9501671Z echo "merge_sha:${sha}" >> revision.txt
2026-05-29T08:50:18.9502199Z else
2026-05-29T08:50:18.9502557Z echo "$sha" > revision.txt
2026-05-29T08:50:18.9502991Z fi
2026-05-29T08:50:18.9527566Z shell: C:\Program Files\Git\bin\bash.EXE --noprofile --norc -e -o pipefail {0}
2026-05-29T08:50:18.9528298Z env:
2026-05-29T08:50:18.9528771Z pythonLocation: C:\hostedtoolcache\windows\PyPy\2.7.18\x64
2026-05-29T08:50:18.9529277Z Python_ROOT_DIR: C:\hostedtoolcache\windows\PyPy\2.7.18\x64
2026-05-29T08:50:18.9529743Z Python2_ROOT_DIR: C:\hostedtoolcache\windows\PyPy\2.7.18\x64
2026-05-29T08:50:18.9530170Z Python3_ROOT_DIR: C:\hostedtoolcache\windows\PyPy\2.7.18\x64
2026-05-29T08:50:18.9530609Z PKG_CONFIG_PATH: C:\hostedtoolcache\windows\PyPy\2.7.18\x64/lib/pkgconfig
2026-05-29T08:50:19.7532631Z fatal: Needed a single revision
2026-05-29T08:50:19.7654945Z ##[error]Process completed with exit code 128.