28 lines
572 B
ReStructuredText
28 lines
572 B
ReStructuredText
Publishing
|
|
==========
|
|
|
|
Every pushed commit builds and validates the package.
|
|
|
|
Packages are published to the Gitea PyPI-compatible package registry when the
|
|
push is made to a version branch named like ``8.0.0``, ``8.0.1``, etc.
|
|
|
|
Required repository secrets:
|
|
|
|
* ``GITEA_PACKAGE_USER``
|
|
* ``GITEA_PACKAGE_TOKEN``
|
|
|
|
Publish a release:
|
|
|
|
.. code-block:: console
|
|
|
|
git switch -c 8.0.0
|
|
git push origin 8.0.0
|
|
|
|
Install from Gitea:
|
|
|
|
.. code-block:: console
|
|
|
|
pip install \
|
|
--index-url https://gitea.joseagrc.com/api/packages/tryton-do/pypi/simple \
|
|
trytond_account_do
|