mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Use git --no-pager in ci script.
When running 'git log' in a ci script, pass --no-pager to ensure that a pager (i.e. 'less') is never used. When running in CI, there is no controlling terminal, so a pager will never be used; but when running the CI scripts by hand to reproduce CI issues, the automatic invocation of a pager by 'git log' breaks the script.
This commit is contained in:
parent
0931e4590b
commit
65bdef4b5f
1 changed files with 2 additions and 2 deletions
|
|
@ -24,10 +24,10 @@ test/lint/check-doc.py
|
|||
test/lint/lint-all.sh
|
||||
|
||||
if [ "$CIRRUS_REPO_FULL_NAME" = "bitcoin/bitcoin" ] && [ -n "$CIRRUS_CRON" ]; then
|
||||
git log --merges --before="2 days ago" -1 --format='%H' > ./contrib/verify-commits/trusted-sha512-root-commit
|
||||
git --no-pager log --merges --before="2 days ago" -1 --format='%H' > ./contrib/verify-commits/trusted-sha512-root-commit
|
||||
${CI_RETRY_EXE} gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys $(<contrib/verify-commits/trusted-keys) &&
|
||||
./contrib/verify-commits/verify-commits.py --clean-merge=2;
|
||||
fi
|
||||
|
||||
echo
|
||||
git log --no-merges --oneline $COMMIT_RANGE
|
||||
git --no-pager log --no-merges --oneline $COMMIT_RANGE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue