improve build dir & fix name

This commit is contained in:
jem 2020-03-04 09:07:03 +01:00
parent b20b740c83
commit f8dd897158
2 changed files with 3 additions and 2 deletions

View file

@ -27,7 +27,7 @@ use_plugin("python.distutils")
default_task = "publish"
name = "ddadevops"
version = "0.4.0.dev9"
version = "0.4.0.dev10"
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
description = __doc__
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]

View file

@ -21,11 +21,12 @@ class DevopsBuild:
project.set_property("devops_build", self)
def name(self):
return self.project.get_property('name')
return self.project.name
def build_path(self):
mylist = [self.project_root_path,
self.build_dir_name,
self.name(),
self.module]
return '/'.join(filter_none(mylist))