diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3fc1c3e..d35375e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,12 @@ +1.2.10 (2022-02-19) +Bug Fixes +--------- + +- Check the permission as well as the existence of path when finding Pythons. `#111 `_ + +- Fix an error of pythonfinder when `PATH` contains unreadable paths. `#118 `_ + + 1.2.9 (2021-11-08) ================== diff --git a/news/111.bugfix.rst b/news/111.bugfix.rst deleted file mode 100644 index f9994a9..0000000 --- a/news/111.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Check the permission as well as the existence of path when finding Pythons. \ No newline at end of file diff --git a/news/118.bugfix.rst b/news/118.bugfix.rst deleted file mode 100644 index 43b330c..0000000 --- a/news/118.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix an error of pythonfinder when `PATH` contains unreadable paths. diff --git a/src/pythonfinder/__init__.py b/src/pythonfinder/__init__.py index 334e06f..6bca723 100644 --- a/src/pythonfinder/__init__.py +++ b/src/pythonfinder/__init__.py @@ -10,7 +10,7 @@ from .models import SystemPath, WindowsFinder from .pythonfinder import Finder -__version__ = "1.2.10.dev0" +__version__ = "1.2.10" logger = logging.getLogger(__name__) diff --git a/tasks/__init__.py b/tasks/__init__.py index 53b967b..870ff3f 100644 --- a/tasks/__init__.py +++ b/tasks/__init__.py @@ -212,11 +212,10 @@ def release(ctx, version=None, type_="patch", yes=False, dry_run=False): version = bump_version(ctx, type_, log=not dry_run, dry_run=dry_run) else: _write_version(version) - tag_content = get_changelog(ctx) current_branch = _get_branch(ctx) generate_news(ctx, yes=yes, dry_run=dry_run) git_commit_cmd = f'git commit -am "Release {version}"' - git_tag_cmd = f'git tag -a {version} -m "Version {version}\n\n{tag_content}"' + git_tag_cmd = f'git tag -a {version} -m "Version {version}"' git_push_cmd = f"git push origin {current_branch}" git_push_tags_cmd = "git push --tags" if dry_run: