Publish package on every branch push
This commit is contained in:
+6
-4
@@ -1,17 +1,19 @@
|
||||
Publishing
|
||||
==========
|
||||
|
||||
Every pushed commit builds and validates the package.
|
||||
Every pushed commit builds, validates, and publishes the package to the Gitea
|
||||
PyPI-compatible package registry.
|
||||
|
||||
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.
|
||||
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:
|
||||
Publish a release branch:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
|
||||
Reference in New Issue
Block a user