mdbx-ci: use --force to avoid errors while fetching flags.

Change-Id: I8ba31e2f6cfd9b396d6706c71ed0ff42493f7fe9
This commit is contained in:
Leonid Yuriev 2021-02-04 18:53:19 +03:00
parent d78150de79
commit cc7c41a9c0
3 changed files with 4 additions and 3 deletions

View File

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

View File

@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: fetch tags
run: git fetch --unshallow --tags --prune || true
run: git fetch --unshallow --tags --prune --force
- name: make check
run: make --keep-going all && MALLOC_CHECK_=7 MALLOC_PERTURB_=42 make --keep-going check
shell: bash

View File

@ -303,7 +303,7 @@ mdbx++-static.o: src/config.h src/mdbx.c++ mdbx.h mdbx.h++ $(lastword $(MAKEFILE
dist: tags dist-checked.tag libmdbx-sources-$(MDBX_VERSION_SUFFIX).tar.gz $(lastword $(MAKEFILE_LIST))
tags:
git fetch --tags
git fetch --tags --force
release-assets: libmdbx-sources-$(MDBX_VERSION_SUFFIX).tar.gz libmdbx-sources-$(MDBX_VERSION_SUFFIX).zip