Skip to content

Commit

Permalink
bump version to 0.6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
frostming committed Apr 7, 2020
1 parent 05aa79f commit 98c3aea
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Release v0.6.5 (2020-04-07)
---------------------------

### Bug Fixes

- Unix style executable script suffix is missing.


Release v0.6.4 (2020-04-07)
---------------------------

Expand Down
2 changes: 1 addition & 1 deletion pdm/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.6.4"
__version__ = "0.6.5"
2 changes: 1 addition & 1 deletion pdm/models/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def update_shebangs(self, new_path: str) -> None:
maker.executable = new_path
shebang = maker._get_shebang("utf-8").rstrip()
for child in Path(scripts).iterdir():
if not child.is_file() or child.suffix not in (".exe", ".py"):
if not child.is_file() or child.suffix not in (".exe", ".py", ""):
continue
child.write_bytes(
re.sub(rb"#!.+?python.*?$", shebang, child.read_bytes(), flags=re.M)
Expand Down

0 comments on commit 98c3aea

Please sign in to comment.