Skip to content

Commit

Permalink
deploy new version for non source changes
Browse files Browse the repository at this point in the history
  • Loading branch information
danabens committed Mar 6, 2023
1 parent c7986eb commit 8d4e0f6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ def recent_changes_to_src(last_version):
stdout = check_output(["git", "log", "{}..HEAD".format(last_version), "--name-only", "--pretty=format: main"])
stdout = stdout.decode("utf-8")
lines = stdout.splitlines()
src_lines = list(filter(lambda line: line.startswith("src"), lines))
print(f"{len(src_lines)} src files changed since {last_version}")
return src_lines
print(f"{len(lines)} files changed since {last_version}")
return lines


def get_changes(last_version):
Expand Down

0 comments on commit 8d4e0f6

Please sign in to comment.