30 lines
708 B
ReStructuredText
30 lines
708 B
ReStructuredText
Publishing
|
|
==========
|
|
|
|
Every pushed commit builds, validates, and publishes the package to the Gitea
|
|
PyPI-compatible package registry.
|
|
|
|
The publishing workflow uses ``twine upload --skip-existing`` so repeated
|
|
commits with the same package version do not fail. To publish a new package
|
|
artifact, update the module version in ``tryton.cfg`` before pushing.
|
|
|
|
Required repository secrets:
|
|
|
|
* ``GITEA_PACKAGE_USER``
|
|
* ``GITEA_PACKAGE_TOKEN``
|
|
|
|
Publish a release branch:
|
|
|
|
.. 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
|