From c0689007457bfb1d7fb9c97d23cf4c616e2e29e3 Mon Sep 17 00:00:00 2001 From: jerger Date: Fri, 19 Aug 2022 15:10:56 +0200 Subject: [PATCH] fix --- doc/releasing.md | 2 +- src/main/python/ddadevops/devops_terraform_build.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/releasing.md b/doc/releasing.md index e8cbc0b..4b00776 100644 --- a/doc/releasing.md +++ b/doc/releasing.md @@ -5,4 +5,4 @@ git push --follow-tags increase version no in build.py git commit -am "version bump" git push -pip3 install --upgrade --user ddadevops \ No newline at end of file +pip3 install --upgrade ddadevops \ No newline at end of file diff --git a/src/main/python/ddadevops/devops_terraform_build.py b/src/main/python/ddadevops/devops_terraform_build.py index ab8d3aa..08b3f64 100644 --- a/src/main/python/ddadevops/devops_terraform_build.py +++ b/src/main/python/ddadevops/devops_terraform_build.py @@ -182,7 +182,7 @@ class DevopsTerraformBuild(DevopsBuild): auto_approve_flag = IsFlagged else: auto_approve_flag = None - if version.parse(self.terraform_semantic_version >= version.parse("1.0.0"): + if version.parse(self.terraform_semantic_version) >= version.parse("1.0.0"): return_code, stdout, stderr = tf.destroy(capture_output=False, raise_on_error=True, auto_approve=auto_approve_flag, var=self.project_vars(),