From dbe1ae39df5972bd059aa9e526fe5906bfb1c5f7 Mon Sep 17 00:00:00 2001 From: tuntoja Date: Wed, 14 Feb 2024 22:42:24 +0100 Subject: [PATCH] rebuild json data --- .github/actions/release/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/release/action.yml b/.github/actions/release/action.yml index 574985a69a7..f4849b96bbc 100644 --- a/.github/actions/release/action.yml +++ b/.github/actions/release/action.yml @@ -147,7 +147,7 @@ runs: for TAG in ${NEW_RELEASE_TAGS[@]}; do echo "::notice::Creating JIRA release $TAG based on git release tag $TAG." # Build JSON with release information for JIRA API - JIRA_RELEASE_DATA=$(jq -n --arg archived "$JIRA_RELEASE_ARCHIVED" --arg description "$JIRA_RELEASE_DESCRIPTION" --arg releaseDate "$JIRA_RELEASE_DATE" --arg name "$TAG" --arg projectId "$JIRA_PROJECT_ID" --arg released "$JIRA_RELEASE_RELEASED" '$ARGS.named' ) + JIRA_RELEASE_DATA=$(jq -nc --arg archived "$JIRA_RELEASE_ARCHIVED" --arg description "$JIRA_RELEASE_DESCRIPTION" --arg releaseDate "$JIRA_RELEASE_DATE" --arg name "$TAG" --arg projectId "$JIRA_PROJECT_ID" --arg released "$JIRA_RELEASE_RELEASED" '$ARGS.named' ) echo "Sending to JIRA release: $JIRA_RELEASE_DATA" curl --fail --request POST \ --url 'https://centreon.atlassian.net/rest/api/3/version' \