Previous change to only update on difference causes errors :(

This commit is contained in:
Roger A. Light 2020-08-06 12:17:41 +01:00
parent a38cb3bf51
commit 5f565fe4ea

View File

@ -13,13 +13,7 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- run: | - run: |
git diff --exit-code -s origin/coverity-fixes origin/fixes git checkout -b coverity-fixes origin/fixes
if [ "$?" = "1" ]; then git push origin coverity-fixes
git checkout -b coverity-fixes origin/fixes git checkout -b coverity-develop origin/develop
git push origin coverity-fixes git push origin coverity-develop
fi
git diff --exit-code -s origin/coverity-develop origin/develop
if [ "$?" = "1" ]; then
git checkout -b coverity-develop origin/develop
git push origin coverity-develop
fi