diff --git a/build.py b/build.py index 6026f64..8020581 100644 --- a/build.py +++ b/build.py @@ -33,7 +33,7 @@ default_task = "dev" name = "ddadevops" MODULE = "not-used" PROJECT_ROOT_PATH = "." -version = "4.4.1-dev" +version = "4.4.1-dev0" 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/infrastructure/infrastructure.py b/src/main/python/ddadevops/infrastructure/infrastructure.py index 847bc57..210e415 100644 --- a/src/main/python/ddadevops/infrastructure/infrastructure.py +++ b/src/main/python/ddadevops/infrastructure/infrastructure.py @@ -227,11 +227,11 @@ class ArtifactDeploymentApi: return self.execution_api.execute_secure( f'curl -X "POST" "{api_endpoint_url}" ' + '-H "accept: application/json" -H "Content-Type: application/json" ' - + f'-d "{{ "body": "Provides files for release {tag} Attention: The "Source Code"-files below are not up-to-date!", "tag_name": "{tag}"}}" ' # noqa: E501 + + f'-d \'{{ "body": "Provides files for release {tag}", "tag_name": "{tag}"}}\' ' # noqa: E501 + f'-H "Authorization: token {token}"', sanitized_command=f'curl -X "POST" "{api_endpoint_url}" ' + '-H "accept: application/json" -H "Content-Type: application/json" ' - + f'-d "{{ "body": "Provides files for release {tag} Attention: The "Source Code"-files below are not up-to-date!", "tag_name": "{tag}"}}" ', # noqa: E501 + + f'-d \'{{ "body": "Provides files for release {tag}", "tag_name": "{tag}"}}\' ', # noqa: E501 ) # noqa: E501 def add_asset_to_release(