Skip to content

Commit

Permalink
- Skip Slack message step
Browse files Browse the repository at this point in the history
  • Loading branch information
billliu-work committed Jul 13, 2021
1 parent d29e4bc commit 6a4e5bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions step.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ do
done
release_message="$release_message\n\`\`\` "
release_message="\"$release_message\""
#slack_query=$(jq -n --argjson message "$release_message" '{text:$message}');
slack_query=$(jq -n --argjson message "$release_message" '{text:$message}');
if [ -n "$changelogpath" ]; then
echo "$change_log" > $changelogpath
fi
echo "query $slack_query"
echo $(curl -X POST -H "Content-type: application/json" --data "$slack_query" $slack_webhoock)
#echo "query $slack_query"
#echo $(curl -X POST -H "Content-type: application/json" --data "$slack_query" $slack_webhoock)

echo 'Change list:' | envman add --key JIRA_CHANGED_LIST --value "$jira_change_list"

0 comments on commit 6a4e5bb

Please sign in to comment.