Merge branch 'avoid-race-condition' into 'development'

avoid race conditions

See merge request damask/DAMASK!791
This commit is contained in:
Franz Roters 2023-08-04 13:38:30 +00:00
commit a2c9cfbbea
1 changed files with 1 additions and 1 deletions

View File

@ -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