release-monitoring: Fix failing cronjob

The script created by python easy_install is pointing to non-existent
file. Fix this by removing the script created by easy_install and
replace it by actual cron script.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2019-01-07 11:53:28 +01:00
parent ecb02967c4
commit da283ab81c

View file

@ -54,6 +54,8 @@ items:
cp -r _build/html/* ../anitya/static/docs/ && \
popd && \
python3 setup.py install && \
rm -f /usr/local/bin/anitya_cron.py && \
cp files/anitya_cron.py /usr/local/bin/ && \
pip-3 install . && \
popd && \
rm -rf anitya