Skip to content

Commit

Permalink
fix(build: get_latest_dev_sources): honor SkipFailedBuild config opti…
Browse files Browse the repository at this point in the history
…on (fixes actionless#489)
  • Loading branch information
actionless committed Jun 3, 2020
1 parent 747b70d commit 31e1605
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pikaur/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,11 @@ def get_latest_dev_sources(self, check_dev_pkgs=True) -> None:
if pkgver_result.returncode != 0:
print_error(_("failed to retrieve latest dev sources:"))
print_stderr(pkgver_result.stdout_text)
if not ask_to_continue(default_yes=False):
if (
not PikaurConfig().build.SkipFailedBuild.get_bool()
) and (
not ask_to_continue(default_yes=False)
):
raise SysExit(125)
SrcInfo(self.build_dir).regenerate()
self._source_repo_updated = True
Expand Down

0 comments on commit 31e1605

Please sign in to comment.