Skip to content

Commit

Permalink
Update release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
theypsilon authored Mar 8, 2024
1 parent 8ec8420 commit c889db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lines = diff_output.split('\n')
changes = [line for line in lines if line.startswith('+') or line.startswith('-')]
changes = [line for line in changes if not line.startswith('+++') and not line.startswith('---') and 'export COMMIT' not in line]

if int(changes) >= 1:
if len(changes) >= 1:
print("There are changes to push:\n")
print(diff_output)
print('...\n')
Expand Down

0 comments on commit c889db0

Please sign in to comment.