summaryrefslogtreecommitdiff
path: root/scripts/release-build
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/release-build')
-rwxr-xr-xscripts/release-build5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/release-build b/scripts/release-build
index 34305c67..fe10ba3b 100755
--- a/scripts/release-build
+++ b/scripts/release-build
@@ -121,6 +121,8 @@ class ReleaseApp(cliapp.Application):
builds = []
for system_name in systems:
system, _ = self.load_morphology(system_name)
+ if system['arch'] not in self.controllers:
+ continue
builds.append(Build(system_name, system['arch'], self))
return builds
@@ -130,6 +132,9 @@ class ReleaseApp(cliapp.Application):
for system in cluster['systems']:
name = system['morph']
+ morphology = self.load_morphology(name)[0]
+ if morphology['arch'] not in self.controllers:
+ continue
if name not in system['deploy']:
raise cliapp.AppException(
'In %s: system %s ID should be "%s"' %