python-semantic-release 9.7.1__tar.gz → 9.7.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_semantic_release-9.7.1/python_semantic_release.egg-info → python_semantic_release-9.7.3}/PKG-INFO +3 -1
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/algorithm.rst +1 -1
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/automatic-releases/travis.rst +1 -1
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/changelog_templates.rst +7 -7
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/commands.rst +7 -7
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/commit-parsing.rst +5 -5
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/configuration.rst +497 -365
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/index.rst +3 -3
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/migrating_from_v7.rst +3 -3
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/multibranch_releases.rst +1 -1
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/troubleshooting.rst +1 -1
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/pyproject.toml +5 -2
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3/python_semantic_release.egg-info}/PKG-INFO +3 -1
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/python_semantic_release.egg-info/requires.txt +3 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/__init__.py +1 -1
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/cli/commands/version.py +5 -1
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/cli/config.py +33 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/command_line/test_version.py +86 -1
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/AUTHORS.rst +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/LICENSE +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/MANIFEST.in +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/README.rst +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/Makefile +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/automatic-releases/cronjobs.rst +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/automatic-releases/github-actions.rst +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/automatic-releases/index.rst +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/conf.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/contributing.rst +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/contributors.rst +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/github-action.rst +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/make.bat +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/strict_mode.rst +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/python_semantic_release.egg-info/SOURCES.txt +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/python_semantic_release.egg-info/dependency_links.txt +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/python_semantic_release.egg-info/entry_points.txt +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/python_semantic_release.egg-info/top_level.txt +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/__main__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/changelog/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/changelog/context.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/changelog/release_history.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/changelog/template.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/cli/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/cli/commands/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/cli/commands/changelog.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/cli/commands/cli_context.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/cli/commands/generate_config.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/cli/commands/main.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/cli/commands/publish.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/cli/common.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/cli/const.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/cli/github_actions_output.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/cli/masking_filter.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/cli/util.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/commit_parser/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/commit_parser/_base.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/commit_parser/angular.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/commit_parser/emoji.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/commit_parser/scipy.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/commit_parser/tag.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/commit_parser/token.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/commit_parser/util.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/const.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/data/templates/CHANGELOG.md.j2 +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/data/templates/release_notes.md.j2 +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/enums.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/errors.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/helpers.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/hvcs/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/hvcs/_base.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/hvcs/bitbucket.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/hvcs/gitea.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/hvcs/github.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/hvcs/gitlab.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/hvcs/remote_hvcs_base.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/hvcs/token_auth.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/hvcs/util.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/version/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/version/algorithm.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/version/declaration.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/version/translator.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/semantic_release/version/version.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/setup.cfg +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/command_line/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/command_line/conftest.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/command_line/test_changelog.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/command_line/test_generate_config.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/command_line/test_help.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/command_line/test_main.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/command_line/test_publish.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/conftest.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/const.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/fixtures/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/fixtures/commit_parsers.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/fixtures/example_project.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/fixtures/git_repo.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/fixtures/repos/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/fixtures/repos/git_flow/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/fixtures/repos/git_flow/repo_w_2_release_channels.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/fixtures/repos/git_flow/repo_w_3_release_channels.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/fixtures/repos/github_flow/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/fixtures/repos/github_flow/repo_w_release_channels.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/fixtures/repos/trunk_based_dev/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/fixtures/repos/trunk_based_dev/repo_w_no_tags.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/fixtures/repos/trunk_based_dev/repo_w_prereleases.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/fixtures/repos/trunk_based_dev/repo_w_tags.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/fixtures/scipy.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/scenario/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/scenario/test_next_version.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/scenario/test_release_history.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/scenario/test_template_render.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/changelog/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/changelog/test_changelog_context.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/changelog/test_default_changelog.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/changelog/test_release_notes.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/changelog/test_template.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/cli/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/cli/test_config.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/cli/test_github_actions_output.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/cli/test_masking_filter.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/cli/test_util.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/cli/test_version.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/commit_parser/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/commit_parser/test_angular.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/commit_parser/test_emoji.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/commit_parser/test_parsed_commit.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/commit_parser/test_scipy.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/commit_parser/test_tag.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/commit_parser/test_util.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/hvcs/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/hvcs/test__base.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/hvcs/test_bitbucket.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/hvcs/test_gitea.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/hvcs/test_github.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/hvcs/test_gitlab.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/hvcs/test_token_auth.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/hvcs/test_util.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/test_helpers.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/version/__init__.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/version/test_algorithm.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/version/test_declaration.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/version/test_translator.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/unit/semantic_release/version/test_version.py +0 -0
- {python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/tests/util.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-semantic-release
|
|
3
|
-
Version: 9.7.
|
|
3
|
+
Version: 9.7.3
|
|
4
4
|
Summary: Automatic Semantic Versioning for Python projects
|
|
5
5
|
Author-email: Rolf Erik Lekang <me@rolflekang.com>
|
|
6
6
|
License: MIT
|
|
@@ -32,6 +32,8 @@ Requires-Dist: importlib-resources~=6.0
|
|
|
32
32
|
Requires-Dist: pydantic~=2.0
|
|
33
33
|
Requires-Dist: rich~=13.0
|
|
34
34
|
Requires-Dist: shellingham~=1.5
|
|
35
|
+
Provides-Extra: build
|
|
36
|
+
Requires-Dist: build~=1.2; extra == "build"
|
|
35
37
|
Provides-Extra: docs
|
|
36
38
|
Requires-Dist: Sphinx~=6.0; extra == "docs"
|
|
37
39
|
Requires-Dist: sphinxcontrib-apidoc==0.5.0; extra == "docs"
|
|
@@ -26,7 +26,7 @@ Assumptions
|
|
|
26
26
|
``rc``.
|
|
27
27
|
* We know ahead of time whether ``major`` changes introduced by commits
|
|
28
28
|
should cause the new version to remain on ``0.y.z`` if the project is already
|
|
29
|
-
on a ``0.`` version - see :ref:`major_on_zero <config-
|
|
29
|
+
on a ``0.`` version - see :ref:`major_on_zero <config-major_on_zero>`.
|
|
30
30
|
|
|
31
31
|
.. _algorithm-implementation:
|
|
32
32
|
|
{python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/automatic-releases/travis.rst
RENAMED
|
@@ -8,7 +8,7 @@ If this is not the case, please refer to `Travis documentation`_ on how to do th
|
|
|
8
8
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
9
9
|
|
|
10
10
|
See :doc:`../configuration` for details on how to configure Python Semantic Release.
|
|
11
|
-
Make sure that at least you have set :ref:`config-
|
|
11
|
+
Make sure that at least you have set :ref:`config-version_variables` before continuing.
|
|
12
12
|
|
|
13
13
|
2. Add environment variables
|
|
14
14
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
{python_semantic_release-9.7.1 → python_semantic_release-9.7.3}/docs/changelog_templates.rst
RENAMED
|
@@ -5,8 +5,8 @@ Changelog Templates
|
|
|
5
5
|
|
|
6
6
|
.. warning::
|
|
7
7
|
If you have an existing changelog in the location you have configured with
|
|
8
|
-
the :ref:`changelog_file <config-changelog-
|
|
9
|
-
or if you have a template inside your :ref:`template directory <config-changelog-
|
|
8
|
+
the :ref:`changelog_file <config-changelog-changelog_file>` setting,
|
|
9
|
+
or if you have a template inside your :ref:`template directory <config-changelog-template_dir>`
|
|
10
10
|
which will render to the location of an existing file, Python Semantic Release will
|
|
11
11
|
overwrite the contents of this file.
|
|
12
12
|
|
|
@@ -14,11 +14,11 @@ Changelog Templates
|
|
|
14
14
|
|
|
15
15
|
Python Semantic Release can write a changelog for your project. By default, it uses an
|
|
16
16
|
in-built template; once rendered this will be written to the location you configure with the
|
|
17
|
-
:ref:`changelog_file <config-changelog-
|
|
17
|
+
:ref:`changelog_file <config-changelog-changelog_file>` setting.
|
|
18
18
|
|
|
19
19
|
However, Python Semantic Release is also capable of rendering an entire directory tree
|
|
20
20
|
of templates during the changelog generation process. This directory is specified
|
|
21
|
-
using the :ref:`template directory <config-changelog-
|
|
21
|
+
using the :ref:`template directory <config-changelog-template_dir>` setting.
|
|
22
22
|
|
|
23
23
|
Python Semantic Release uses `Jinja`_ as its template engine, so you should refer to the
|
|
24
24
|
`Template Designer Documentation`_ for guidance on how to customize the appearance of
|
|
@@ -48,7 +48,7 @@ Directory Structure:
|
|
|
48
48
|
If you don't want to set up your own custom changelog template, you can have Python
|
|
49
49
|
Semantic Release use its in-built template. If you would like to customize the
|
|
50
50
|
appearance of the changelog, or to render additional files, then you will need to
|
|
51
|
-
create a directory within your repository and set the :ref:`template_dir <config-changelog-
|
|
51
|
+
create a directory within your repository and set the :ref:`template_dir <config-changelog-template_dir>`
|
|
52
52
|
setting to the name of this directory. The default name is ``"templates"``.
|
|
53
53
|
|
|
54
54
|
.. note::
|
|
@@ -78,7 +78,7 @@ a ``"."``.
|
|
|
78
78
|
Directory Structure (Example)
|
|
79
79
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
80
80
|
|
|
81
|
-
Suppose a project sets :ref:`template_dir <config-changelog-
|
|
81
|
+
Suppose a project sets :ref:`template_dir <config-changelog-template_dir>` to
|
|
82
82
|
``"templates"`` and has the following structure:
|
|
83
83
|
|
|
84
84
|
.. code-block::
|
|
@@ -289,7 +289,7 @@ generates the release notes when :ref:`creating VCS releases <index-creating-vcs
|
|
|
289
289
|
|
|
290
290
|
* the `in-built template`_ is used by default
|
|
291
291
|
* create a file named ``.release_notes.md.j2`` inside the project's
|
|
292
|
-
:ref:`template_dir <config-changelog-
|
|
292
|
+
:ref:`template_dir <config-changelog-template_dir>` to customize the release notes
|
|
293
293
|
|
|
294
294
|
.. _changelog-templates-customizing-vcs-release-notes-release-notes-context:
|
|
295
295
|
|
|
@@ -101,7 +101,7 @@ By default:
|
|
|
101
101
|
|
|
102
102
|
* Write this new version to the project metadata locations
|
|
103
103
|
specified in the configuration file
|
|
104
|
-
* Build the project using :ref:`config-
|
|
104
|
+
* Build the project using :ref:`config-build_command`, if specified
|
|
105
105
|
* Create a new commit with these locations and any other assets configured
|
|
106
106
|
to be included in a release
|
|
107
107
|
* Tag this commit according the configured format, with a tag that uniquely
|
|
@@ -116,10 +116,10 @@ commit that is made.
|
|
|
116
116
|
.. seealso::
|
|
117
117
|
- :ref:`cmd-changelog`
|
|
118
118
|
- :ref:`changelog-templates`
|
|
119
|
-
- :ref:`config-
|
|
119
|
+
- :ref:`config-tag_format`
|
|
120
120
|
- :ref:`config-assets`
|
|
121
|
-
- :ref:`config-
|
|
122
|
-
- :ref:`config-
|
|
121
|
+
- :ref:`config-version_toml`
|
|
122
|
+
- :ref:`config-version_variables`
|
|
123
123
|
|
|
124
124
|
.. _cmd-version-options:
|
|
125
125
|
|
|
@@ -316,7 +316,7 @@ If ``--no-commit`` is supplied, it may disable other options derivatively; pleas
|
|
|
316
316
|
**Default:** ``--commit``
|
|
317
317
|
|
|
318
318
|
.. seealso::
|
|
319
|
-
- :ref:`tag_format <config-
|
|
319
|
+
- :ref:`tag_format <config-tag_format>`
|
|
320
320
|
|
|
321
321
|
.. _cmd-version-option-tag:
|
|
322
322
|
|
|
@@ -370,7 +370,7 @@ implied by supplying only ``--no-commit``), otherwise ``--vcs-release``
|
|
|
370
370
|
``--skip-build``
|
|
371
371
|
****************
|
|
372
372
|
|
|
373
|
-
If passed, skip building the current project using :ref:`build_command <config-
|
|
373
|
+
If passed, skip building the current project using :ref:`build_command <config-build_command>`.
|
|
374
374
|
|
|
375
375
|
.. _cmd-publish:
|
|
376
376
|
|
|
@@ -381,7 +381,7 @@ Publish a distribution to a VCS release. Uploads using :ref:`config-publish`
|
|
|
381
381
|
|
|
382
382
|
.. seealso::
|
|
383
383
|
- :ref:`config-publish`
|
|
384
|
-
- :ref:`config-
|
|
384
|
+
- :ref:`config-build_command`
|
|
385
385
|
|
|
386
386
|
.. _cmd-publish-options:
|
|
387
387
|
|
|
@@ -30,8 +30,8 @@ description to create a major release.
|
|
|
30
30
|
More information about the style can be found in the `angular commit guidelines`_.
|
|
31
31
|
|
|
32
32
|
.. seealso::
|
|
33
|
-
- :ref:`commit_parser <config-
|
|
34
|
-
- :ref:`commit_parser_options <config-
|
|
33
|
+
- :ref:`commit_parser <config-commit_parser>`
|
|
34
|
+
- :ref:`commit_parser_options <config-commit_parser_options>`
|
|
35
35
|
|
|
36
36
|
.. _commit-parser-builtin:
|
|
37
37
|
|
|
@@ -181,7 +181,7 @@ If you would prefer to use an alternative commit style, for example to adjust th
|
|
|
181
181
|
different ``type`` values that are associated with a particular commit, this is
|
|
182
182
|
possible.
|
|
183
183
|
|
|
184
|
-
The :ref:`commit_parser <config-
|
|
184
|
+
The :ref:`commit_parser <config-commit_parser>` option, if set to a string which
|
|
185
185
|
does not match one of Python Semantic Release's inbuilt commit parsers, will be
|
|
186
186
|
used to attempt to dynamically import a custom commit parser class. As such you will
|
|
187
187
|
need to ensure that your custom commit parser is import-able from the environment in
|
|
@@ -296,8 +296,8 @@ To provide options to the commit parser which is configured in the :ref:`configu
|
|
|
296
296
|
class. Each parser built into Python Semantic Release has a corresponding "options" class, which
|
|
297
297
|
subclasses :py:class:`semantic_release.ParserOptions`.
|
|
298
298
|
|
|
299
|
-
The configuration in :ref:`commit_parser_options <config-
|
|
300
|
-
"options" class which is specified by the configured :ref:`commit_parser <config-
|
|
299
|
+
The configuration in :ref:`commit_parser_options <config-commit_parser_options>` is passed to the
|
|
300
|
+
"options" class which is specified by the configured :ref:`commit_parser <config-commit_parser>` -
|
|
301
301
|
more information on how this is specified is below.
|
|
302
302
|
|
|
303
303
|
The "options" class is used to validate the options which are configured in the repository,
|