gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: checkout operation needs tag


From: gnunet
Subject: [taler-deployment] branch master updated: checkout operation needs tag
Date: Wed, 17 Feb 2021 09:09:28 +0100

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new b831f73  checkout operation needs tag
b831f73 is described below

commit b831f738a2849c54c1ba99789222e125477fb1e5
Author: MS <ms@taler.net>
AuthorDate: Wed Feb 17 09:09:23 2021 +0100

    checkout operation needs tag
---
 bin/taler-deployment | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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,
         )

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]