diff options
Diffstat (limited to 'bin/taler-deployment')
-rwxr-xr-x | bin/taler-deployment | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/taler-deployment b/bin/taler-deployment index 6e8a88f..c4448db 100755 --- a/bin/taler-deployment +++ b/bin/taler-deployment @@ -484,7 +484,6 @@ def build() -> None: for r in stale: p = Path.home() / "sources" / r.name os.chdir(str(p)) - tag = getattr(cfg, "tag_" + r.name.replace("-", "_")) r.builder(r, p) @@ -503,6 +502,7 @@ def switch_demo(color) -> None: active_home.symlink_to(f"/home/demo-{color}") +# repos does not contain distro-installed components def checkout_repos(cfg, repos): """Check out repos to the version specified in envcfg.py""" home = Path.home() @@ -513,6 +513,7 @@ def checkout_repos(cfg, repos): r_dir.mkdir(parents=True, exist_ok=True) subprocess.run(["git", "-C", str(sources), "clone", r.url], check=True) subprocess.run(["git", "-C", str(r_dir), "fetch"], check=True) + tag = getattr(cfg, "tag_" + r.name.replace("-", "_")) subprocess.run( ["git", "-C", str(r_dir), "checkout", "-q", "-f", tag, "--"], check=True, ) |