This repository was archived by the owner on Aug 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -19,3 +19,4 @@ or post in the `Gitter Chat <https://gitter.im/dffml/community>`_.
1919 testing
2020 docs
2121 debugging
22+ maintainers
Original file line number Diff line number Diff line change 1+ Maintainer Docs
2+ ===============
3+
4+ These docs are for the maintainers of DFFML, if you're not a maintainer, you
5+ won't find anything useful here, unless your just curious.
6+
7+ Adding A New Plugin
8+ -------------------
9+
10+ When a new plugin is added we need to go manually upload it for the first time.
11+
12+ .. code-block :: console
13+
14+ $ cd model/new_model
15+ $ python3.7 setup.py test
16+ $ rm -rf dist
17+ $ git clean -xdf
18+ $ python3.7 setup.py sdist
19+ $ twine upload dist/*
20+
21+ Once it's be uploaded, we go to PyPi and create an API key which will be used to
22+ upload it via the automatic release at the end of ``run_plugin `` within the CI
23+ script.
24+
25+ .. image :: /images/pypi-token-to-github-secret.gif
26+
27+ Finally, update the ``PYPI_TOKENS `` file in ``.github/workflows/testing.yml ``.
28+ Add a line for the plugin along with it's sceret.
You can’t perform that action at this time.
0 commit comments