From f8dd8971583f46958d0512f736868c11befeeef2 Mon Sep 17 00:00:00 2001 From: jem Date: Wed, 4 Mar 2020 09:07:03 +0100 Subject: [PATCH] improve build dir & fix name --- build.py | 2 +- src/main/python/ddadevops/devops_build.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index aec291c..9b4f997 100644 --- a/build.py +++ b/build.py @@ -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")] diff --git a/src/main/python/ddadevops/devops_build.py b/src/main/python/ddadevops/devops_build.py index 6bdcb61..f4e2797 100644 --- a/src/main/python/ddadevops/devops_build.py +++ b/src/main/python/ddadevops/devops_build.py @@ -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))