Skip to content

Commit

Permalink
Release 1.2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
frostming committed Feb 19, 2022
1 parent 2aa19ed commit 49c6d60
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -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 <https://github.com/sarugaku/pythonfinder/issues/111>`_

- Fix an error of pythonfinder when `PATH` contains unreadable paths. `#118 <https://github.com/sarugaku/pythonfinder/issues/118>`_


1.2.9 (2021-11-08)
==================

Expand Down
1 change: 0 additions & 1 deletion news/111.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/118.bugfix.rst

This file was deleted.

2 changes: 1 addition & 1 deletion src/pythonfinder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down
3 changes: 1 addition & 2 deletions tasks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 49c6d60

Please sign in to comment.