Failed option added to check packages script

This commit is contained in:
Gonzalo Acuña 2022-11-02 08:39:03 -03:00
parent d326ada414
commit d210da426d
No known key found for this signature in database
GPG Key ID: 646BA79A313A2270
2 changed files with 9 additions and 6 deletions

View File

@ -27,6 +27,7 @@ checkPackages(){
## If it does not exist set EXISTS to 1 (false)
if [ "$PACKAGE" != "200" ]; then
EXISTS=1
#echo $PACKAGES_URL$URI "does not exist"
return $EXISTS
fi
done < packages_uri_new.txt
@ -44,4 +45,7 @@ elif checkPackages "pre-release"; then
elif checkPackages "staging"; then
echo "staging"
exit 0
else
echo "Failed"
exit 1
fi

View File

@ -1,8 +1,7 @@
yum/wazuh-manager-VERSION-1.x86_64.rpm
yum/wazuh-agent-VERSION-1.x86_64.rpm
yum/filebeat-oss-7.10.2-x86_64.rpm
yum/wazuh-dashboard-VERSION-1.x86_64.rpm
yum/wazuh-indexer-VERSION-1.x86_64.rp
apt/pool/main/w/wazuh-agent/wazuh-agent_VERSION-1_ppc64el.deb
windows/wazuh-agent-VERSION-1.msi
apt/pool/main/w/wazuh-manager/wazuh-manager_VERSION-1_amd64.deb
apt/pool/main/w/wazuh-indexer/wazuh-indexer_VERSION-1_amd64.deb
apt/pool/main/f/filebeat/filebeat-oss-7.10.2-amd64.deb
apt/pool/main/w/wazuh-dashboard/wazuh-dashboard_VERSION-1_amd64.deb
apt/pool/main/w/wazuh-agent/wazuh-agent_VERSION-1_ppc64el.deb
yum/wazuh-agent-VERSION-1.x86_64.rpm