Skip to content

Commit

Permalink
Fix git diff linter. Release 0.5.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
adiroiban committed May 25, 2019
1 parent 0a45d97 commit 48dfc89
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions release-notes.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
scame-0.5.1 - 2019/05/25
========================

* Fix git diff linter for moved files.


scame-0.5.0 - 2018/09/11
========================

Expand Down
4 changes: 3 additions & 1 deletion scame/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ def _git_diff_files(ref='master'):
sys.exit(1)

for line in output.splitlines():
action, name = line.split('\t')
parts = line.split('\t')
action = parts[0]
name = parts[-1]
action = action.lower()
result.append((action, name))

Expand Down
2 changes: 1 addition & 1 deletion scame/__version__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
Keeps the version of the project.
"""
VERSION = '0.5.0'
VERSION = '0.5.1'

0 comments on commit 48dfc89

Please sign in to comment.