Skip to content

Commit

Permalink
rebuild json data
Browse files Browse the repository at this point in the history
  • Loading branch information
tuntoja committed Feb 14, 2024
1 parent 2bddb04 commit dbe1ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' \
Expand Down

0 comments on commit dbe1ae3

Please sign in to comment.