Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tuntoja committed Feb 14, 2024
1 parent 06d7f4d commit 8ba6a49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' \
Expand Down

0 comments on commit 8ba6a49

Please sign in to comment.