From 8ba6a49e4feaf3ac1d5efaa2d8f71b9b4931fe40 Mon Sep 17 00:00:00 2001 From: tuntoja Date: Wed, 14 Feb 2024 21:40:32 +0100 Subject: [PATCH] fix --- .github/actions/release/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/release/action.yml b/.github/actions/release/action.yml index 5199da2cdb8..bd82a604230 100644 --- a/.github/actions/release/action.yml +++ b/.github/actions/release/action.yml @@ -138,8 +138,8 @@ runs: echo "Creating JIRA releases." for TAG in ${NEW_RELEASE_TAGS[@]}; do echo "::notice::Creating JIRA release $TAG based on git release tag $TAG." - JIRA_VERSION_DATA="{\"archived\":false,\"description\":\"centreon-collect-42.04\",\"releaseDate\":\"$(date +%Y-%m-%d)\",\"name\":\"$TAG\",\"projectId\":"${{ inputs.jira_project_id }}",\"released\":false}" - #JIRA_VERSION_DATA="{"archived":false,"releaseDate":"$(date +%Y-%m-%d)","name":"$TAG","projectId":${{ inputs.jira_project_id }},"released":false} + #JIRA_VERSION_DATA="{\"archived\":false,\"description\":\"centreon-collect-42.04\",\"releaseDate\":\"$(date +%Y-%m-%d)\",\"name\":\"$TAG\",\"projectId\":"${{ inputs.jira_project_id }}",\"released\":false}" + JIRA_VERSION_DATA="{"archived":false,"releaseDate":"$(date +%Y-%m-%d)","name":"$TAG","projectId":${{ inputs.jira_project_id }},"released":false} echo "Sending to JIRA release: $JIRA_VERSION_DATA" curl --fail --request POST \ --url 'https://centreon.atlassian.net/rest/api/3/version' \