Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #264 from nakul-shahdadpuri/master
Browse files Browse the repository at this point in the history
Fixes issue #245
  • Loading branch information
jpopelka authored Sep 29, 2020
2 parents b3e9ede + d71103b commit 4ca8178
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions release_bot/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,7 @@ def look_for_version_files(repo_directory, new_version):

if success:
changed.append(filename.replace(repo_directory + '/', '', 1))
if len(changed) > 1:
logger.error('Multiple version files found. Aborting version update.')
elif not changed:
if not changed:
logger.error('No version files found. Aborting version update.')

return changed
Expand Down

0 comments on commit 4ca8178

Please sign in to comment.