From fe3b58e5017d360b31aa6f69f3e78831fd4e026a Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Fri, 4 Aug 2023 09:54:59 +0200 Subject: [PATCH] avoid race conditions --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dde542a6c..e988f6cf9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -284,6 +284,6 @@ update_revision: - > git diff-index --quiet HEAD || git commit VERSION -m "[skip ci] updated version information after successful test of $VERSION" - - if [ ${CI_COMMIT_SHA} == $(git rev-parse HEAD^) ]; then git push origin HEAD:development HEAD:master; fi + - if [ ${CI_COMMIT_SHA} == $(git rev-parse HEAD^) ]; then git push --atomic --no-verify origin HEAD:development HEAD:master; fi only: - development