avoid failed test after release

This commit is contained in:
Martin Diehl 2021-10-07 14:47:38 +02:00
parent 5005d11f6e
commit 6ced308e98
1 changed files with 2 additions and 1 deletions

View File

@ -241,9 +241,10 @@ merge_into_master:
- cd $DAMASKROOT
- export TESTEDREV=$(git describe) # might be detached from development branch
- echo $TESTEDREV > python/damask/VERSION
- git add python/damask/VERSION
- >
git diff-index --quiet HEAD ||
git commit python/damask/VERSION -m "[skip ci] updated version information after successful test of $TESTEDREV"
git commit -m "[skip ci] updated version information after successful test of $TESTEDREV"
- export UPDATEDREV=$(git describe) # tested state + 1 commit
- git checkout master
- git merge $UPDATEDREV -s recursive -X ours # conflicts occur only for inconsistent state