Skip to content

Commit

Permalink
pkglist: Don't exit with 0 if the stagings didn't calculcate lists
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Mar 11, 2022
1 parent 8c94506 commit 378a00a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkglistgen/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ def solve_project(project, scope):
stop_after_solve=opts.stop_after_solve)
except MismatchedRepoException:
logging.error("Failed to create weakremovers.inc due to mismatch in repos - project most likey started building again.")
# for stagings we have to be strict on the exit value
if scope == 'staging':
return 1
return 0

scope = opts.scope
Expand Down

0 comments on commit 378a00a

Please sign in to comment.