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 35fc306 commit 148b7bd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/actions/release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ runs:
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}"
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 ''$VERSION_DATA''
echo ''$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''
echo ''$JIRA_VERSION_DATA''
done
shell: bash

Expand Down

0 comments on commit 148b7bd

Please sign in to comment.