prevent spurious warnings about diff files (#568)

Change-Id: Ia2f7bf470b2627e7f670e6d5972d4ffedb939394
Signed-off-by: nickboldt <nboldt@redhat.com>
pull/569/head
Nick Boldt 2020-12-07 02:19:47 -05:00 committed by GitHub
parent 6f796b2bc2
commit 867f428e25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -74,6 +74,14 @@ do
}
}' | jq -r '.token')
# if [[ ${AUTH_TOKEN} ]]; then echo "[DEBUG] Got token"; fi
# move all diff files away so we don't get warnings about invalid file names
find . -name "*.yaml.diff" -exec rm -f {} \; || true
# push new applications to quay.io/application/eclipse-che-operator-*
operator-courier push generated/flatten "${quayNamespace}" "${packageName}" "${applicationVersion}" "${AUTH_TOKEN}"
# now put them back
git checkout . || true
done
cd "${CURRENT_DIR}"