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: task:
install_script: pkg install -y gmake bash git 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 # numbers
(?:[\\0][xX]|[uU]\+|#)[0-9a-fA-FgGrR]{2,}[uU]?[lL]{0,2}\b (?:[\\0][xX]|[uU]\+|#)[0-9a-fA-FgGrR]{2,}[uU]?[lL]{0,2}\b
# avoid false positive # avoid false positive
-force$ -{1,2}force\W
--force$
# flags # flags
(?!\w)-{1,2}[fDW] (?!\w)-{1,2}[fDW]

View File

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

View File

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