[release-monitoring] Build and install Anitya package before building documentation
Documentation build needs to have Anitya package already available. Move the build and install it before building the documentation. Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
fba95afaa4
commit
9affa5f80a
1 changed files with 3 additions and 4 deletions
|
@ -57,6 +57,8 @@ items:
|
|||
git checkout staging && \
|
||||
poetry export -f requirements.txt --output requirements.txt --without-hashes && \
|
||||
pip-3 install -r requirements.txt && \
|
||||
poetry build && \
|
||||
pip-3 install dist/*.whl && \
|
||||
{% else %}
|
||||
git checkout production && \
|
||||
python3 setup.py install && \
|
||||
|
@ -68,10 +70,7 @@ items:
|
|||
mkdir -p ../anitya/static/docs/ && \
|
||||
cp -r _build/html/* ../anitya/static/docs/ && \
|
||||
popd && \
|
||||
{% if env == 'staging' %}
|
||||
poetry build && \
|
||||
pip-3 install dist/*.whl && \
|
||||
{% else %}
|
||||
{% if env != 'staging' %}
|
||||
python3 setup.py install && \
|
||||
pip-3 install . && \
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue