summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMS <ms@taler.net>2021-02-15 18:46:59 +0100
committerMS <ms@taler.net>2021-02-15 18:46:59 +0100
commit8f01cba611301f7841bf6b8212abf8b7661bf357 (patch)
tree7836a974877ef41eca53821473626d34a6c95ecd /bin
parentdbdec6ce8d5981923937ecacb5bb2e7316fdfee6 (diff)
downloaddeployment-8f01cba611301f7841bf6b8212abf8b7661bf357.tar.gz
deployment-8f01cba611301f7841bf6b8212abf8b7661bf357.tar.bz2
deployment-8f01cba611301f7841bf6b8212abf8b7661bf357.zip
Skip building components installed via packaging.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/taler-deployment8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/taler-deployment b/bin/taler-deployment
index e2e7b58..58df3db 100755
--- a/bin/taler-deployment
+++ b/bin/taler-deployment
@@ -475,7 +475,13 @@ def build() -> None:
for r in stale:
p = Path.home() / "sources" / r.name
os.chdir(str(p))
- r.builder(r, p) # type: ignore
+ tag = getattr(cfg, "tag_" + r.name.replace("-", "_"))
+ # Usually a None tag indicates that the artifact was already installed
+ # via some packaging mechanism, like Debian packages. There is no
+ # need to build it then.
+ if not tag:
+ continue
+ r.builder(r, p)
@cli.command()