From 2c54ff4b01ee2bd12987e576a10adc96a83c4a0c Mon Sep 17 00:00:00 2001 From: tuntoja Date: Wed, 14 Feb 2024 19:38:17 +0100 Subject: [PATCH] fix --- .github/actions/release/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/release/action.yml b/.github/actions/release/action.yml index 8bbae307fbb..fed36ea9628 100644 --- a/.github/actions/release/action.yml +++ b/.github/actions/release/action.yml @@ -136,13 +136,14 @@ runs: for TAG in ${NEW_RELEASE_TAGS[@]}; do echo "::notice::Creating JIRA release $TAG based on git release tag $TAG." JIRA_VERSION_DATA="{\"archived\":false,\"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' \ --header 'Authorization: Basic ${{ inputs.jira_token }}' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ - --data ''$JIRA_VERSION_DATA'' + --data '$JIRA_VERSION_DATA' echo ''$JIRA_VERSION_DATA'' done shell: bash