mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 15:30:28 +03:00
build: fix --no-refresh
This was broken by the in-source-tree .fdroid.yml file support. Also support this for building on the buildserver.
This commit is contained in:
parent
5cfa4d487f
commit
e775d330c2
2 changed files with 6 additions and 6 deletions
|
|
@ -962,7 +962,7 @@ def trybuild(app, build, build_dir, output_dir, log_dir, also_check_dir,
|
|||
if server:
|
||||
# When using server mode, still keep a local cache of the repo, by
|
||||
# grabbing the source now.
|
||||
vcs.gotorevision(build.commit)
|
||||
vcs.gotorevision(build.commit, refresh)
|
||||
|
||||
build_server(app, build, vcs, build_dir, output_dir, log_dir, force)
|
||||
else:
|
||||
|
|
@ -1124,7 +1124,7 @@ def main():
|
|||
|
||||
# Read all app and srclib metadata
|
||||
pkgs = common.read_pkg_args(options.appid, True)
|
||||
allapps = metadata.read_metadata(not options.onserver, pkgs, sort_by_time=True)
|
||||
allapps = metadata.read_metadata(not options.onserver, pkgs, options.refresh, sort_by_time=True)
|
||||
apps = common.read_app_args(options.appid, allapps, True)
|
||||
|
||||
for appid, app in list(apps.items()):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue