Browse Source

CI: do not exit if metadata deletion failed

master
Leonid Plyushch 5 years ago
parent
commit
871219845d
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 1
      .github/workflows/repology_metadata.yml

1
.github/workflows/repology_metadata.yml

@ -31,7 +31,6 @@ jobs:
"https://api.bintray.com/content/termux/metadata/repology/packages.json") "https://api.bintray.com/content/termux/metadata/repology/packages.json")
if [[ $(echo "$response" | cut -d'|' -f2) != "200" ]] && [[ $(echo "$response" | cut -d'|' -f2) != "404" ]]; then if [[ $(echo "$response" | cut -d'|' -f2) != "200" ]] && [[ $(echo "$response" | cut -d'|' -f2) != "404" ]]; then
echo "Old medatata deletion failed !" echo "Old medatata deletion failed !"
exit 1
fi fi
response=$(curl --silent --user "${BINTRAY_USERNAME}:${BINTRAY_API_KEY}" --request PUT \ response=$(curl --silent --user "${BINTRAY_USERNAME}:${BINTRAY_API_KEY}" --request PUT \
--header "X-Bintray-Package: repology" --header "X-Bintray-Version: current" \ --header "X-Bintray-Package: repology" --header "X-Bintray-Version: current" \

Loading…
Cancel
Save