python-semantic-release 7.33.5__tar.gz → 7.34.0__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-7.33.5/python_semantic_release.egg-info → python-semantic-release-7.34.0}/PKG-INFO +1 -1
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0/python_semantic_release.egg-info}/PKG-INFO +1 -1
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/__init__.py +1 -1
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/defaults.cfg +1 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/settings.py +1 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/vcs_helpers.py +4 -1
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/AUTHORS.rst +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/LICENSE +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/MANIFEST.in +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/README.rst +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/python_semantic_release.egg-info/SOURCES.txt +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/python_semantic_release.egg-info/dependency_links.txt +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/python_semantic_release.egg-info/entry_points.txt +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/python_semantic_release.egg-info/requires.txt +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/python_semantic_release.egg-info/top_level.txt +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/__main__.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/changelog/__init__.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/changelog/changelog.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/changelog/compare.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/ci_checks.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/cli.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/dist.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/errors.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/helpers.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/history/__init__.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/history/logs.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/history/parser_angular.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/history/parser_emoji.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/history/parser_helpers.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/history/parser_scipy.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/history/parser_tag.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/hvcs.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/pre_commit.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/repository.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/setup.cfg +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/setup.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/__init__.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/test_bitbucket.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/test_checker.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/test_circle.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/test_frigg.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/test_gitlab.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/test_jenkins.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/test_semaphore.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/test_travis.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/history/__init__.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/history/test_changelog.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/history/test_version.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/history/test_version_bump.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/mocks/__init__.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/mocks/mock_gitlab.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/parsers/__init__.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/parsers/conftest.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/parsers/test_angular.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/parsers/test_emoji.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/parsers/test_helpers.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/parsers/test_scipy.py +0 -0
- {python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/parsers/test_tag.py +0 -0
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/vcs_helpers.py
RENAMED
|
@@ -17,8 +17,11 @@ from .helpers import LoggedFunction
|
|
|
17
17
|
from .settings import config
|
|
18
18
|
|
|
19
19
|
_repo: Optional[Repo]
|
|
20
|
+
_sub_directory = "."
|
|
20
21
|
try:
|
|
21
22
|
_repo = Repo(".", search_parent_directories=True)
|
|
23
|
+
if config.get("use_only_cwd_commits") and config.get("version_source") == "commit":
|
|
24
|
+
_sub_directory = os.path.relpath(os.getcwd(), _repo.working_dir)
|
|
22
25
|
except InvalidGitRepositoryError:
|
|
23
26
|
_repo = None
|
|
24
27
|
|
|
@@ -79,7 +82,7 @@ def get_commit_log(from_rev=None, to_rev=None):
|
|
|
79
82
|
elif to_rev:
|
|
80
83
|
rev = f"{to_rev}..."
|
|
81
84
|
|
|
82
|
-
for commit in repo().iter_commits(rev):
|
|
85
|
+
for commit in repo().iter_commits(rev, paths=_sub_directory):
|
|
83
86
|
yield (commit.hexsha, commit.message.replace("\r\n", "\n"))
|
|
84
87
|
|
|
85
88
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/__main__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/ci_checks.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/errors.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/helpers.py
RENAMED
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/history/logs.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/pre_commit.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/semantic_release/repository.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/__init__.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/test_bitbucket.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/test_checker.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/test_circle.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/test_frigg.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/test_gitlab.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/test_jenkins.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/test_semaphore.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/ci_checks/test_travis.py
RENAMED
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/history/test_changelog.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/history/test_version.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/history/test_version_bump.py
RENAMED
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/mocks/mock_gitlab.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/parsers/test_angular.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/parsers/test_emoji.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/parsers/test_helpers.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.5 → python-semantic-release-7.34.0}/tests/parsers/test_scipy.py
RENAMED
|
File without changes
|
|
File without changes
|