From a100ee15a3dc854fb7b85d51bfad00d5c43ef1c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=A4rtens?= Date: Fri, 27 Oct 2023 00:53:05 +0200 Subject: [PATCH] the error seems to be persistent, e.g. https://gitlab.com/veloren/veloren/-/jobs/5378935781#L208 The object does not seem to exist in the respective hash: ``` Checking out d690f256 as detached HEAD (ref is master)... bad object 3908ca9e842530c44ea05ac673ae2d93bc636e24 ``` trying out to log more info --- .gitlab/CI/publish.gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab/CI/publish.gitlab-ci.yml b/.gitlab/CI/publish.gitlab-ci.yml index c1c479672a..0c1a429060 100644 --- a/.gitlab/CI/publish.gitlab-ci.yml +++ b/.gitlab/CI/publish.gitlab-ci.yml @@ -45,7 +45,7 @@ gittag: if [[ ! "${SCHEDULE_CADENCE}" =~ ${TAG_REGEX} ]]; then git fetch; git tag -a "${SCHEDULE_CADENCE}" -m '' -f; - git push origin "${SCHEDULE_CADENCE}" -f; + git push origin "${SCHEDULE_CADENCE}" -f || echo "failed pushed, trying again" && sleep 5 && git status && git fsck && git push origin "${SCHEDULE_CADENCE}" -f; fi pages: