Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The commands is lacking from the documentation.
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
.. _commands: | ||
|
||
Commands | ||
-------- | ||
|
||
.. _cmd-changelog: | ||
|
||
changelog | ||
^^^^^^^^^ | ||
When executed this command will generate/update ``CHANGELOG.txt``. | ||
|
||
|
||
.. _cmd-publish: | ||
|
||
publish | ||
^^^^^^^ | ||
Publish will do a sequence of things. | ||
|
||
#. Run same as the :ref:`cmd-version` command | ||
#. Push changes to git | ||
#. If ``upload_to_pypi`` is not ``false`` in the :ref:`configuration` | ||
it will create the wheel and upload to pypi using twine. | ||
#. If the environment variable ``GH_TOKEN`` (or equivalent for your | ||
vcs provider) is set then :ref:`cmd-changelog` will be executed and | ||
the changelog will be posted to your vcs provider if that is supported. | ||
|
||
|
||
.. _cmd-version: | ||
|
||
version | ||
^^^^^^^ | ||
This will only figure out the new version number using | ||
:ref:`commit-log-parsing`, and commit + tag in git. | ||
|
||
This will not push anything to any remote. All changes | ||
are local. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters