This commit is contained in:
jerger 2022-08-19 15:10:56 +02:00
parent b4c8843b3c
commit c068900745
2 changed files with 2 additions and 2 deletions

View file

@ -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
pip3 install --upgrade ddadevops

View file

@ -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(),