dist/ci/deploy: wait for service to complete before create submit request.

This commit is contained in:
Jimmy Berry 2017-10-06 17:40:08 -05:00
parent 49fa091281
commit a99faac2ba

View File

@ -20,6 +20,7 @@ osc commit -m "$(grep -oP 'version: \K.*' *.obsinfo)"
# Create submit request if none currently exists.
if osc request list "$OBS_TARGET_PROJECT" "$(cat .osc/_package)" | grep 'No results for package' ; then
osc service wait
osc sr --diff
osc sr --yes -m "automatic update"
fi