mdbx-ci: add --force for all git fetch --tags.

Change-Id: I016e412250dca651fdae65b08aba5d5e204e61b8
This commit is contained in:
Leonid Yuriev 2021-03-02 01:48:16 +03:00
parent c4b24b6a4d
commit c29d3a4ecb
4 changed files with 5 additions and 6 deletions

View File

@ -3,4 +3,4 @@ freebsd_instance:
task:
install_script: pkg install -y gmake bash git
script: git fetch --tags && gmake check
script: git fetch --tags --force && gmake check

View File

@ -1,7 +1,6 @@
# numbers
(?:[\\0][xX]|[uU]\+|#)[0-9a-fA-FgGrR]{2,}[uU]?[lL]{0,2}\b
# avoid false positive
-force$
--force$
-{1,2}force\W
# flags
(?!\w)-{1,2}[fDW]

View File

@ -62,7 +62,7 @@ before_script: |
script: |
${CC} --version
${CXX} --version
git fetch --unshallow --tags --prune || exit 1
git fetch --unshallow --tags --prune --force || exit 1
if [ ! -s ./coverity_scan.sh ]; then
make --keep-going all && MALLOC_CHECK_=7 MALLOC_PERTURB_=42 make --keep-going check
else

View File

@ -58,9 +58,9 @@ init:
before_build:
- git clean -x -f -d
- git submodule sync
- git fetch --tags --prune
- git fetch --tags --prune --force
- git submodule update --init --recursive
- git submodule foreach --recursive git fetch --tags --prune
- git submodule foreach --recursive git fetch --tags --prune --force
- cmake --version
build_script: