From 13f756ac187e61013df74fffda7e761d6b4a6523 Mon Sep 17 00:00:00 2001 From: Vivek Shindhe Date: Fri, 20 Dec 2024 15:40:00 +0530 Subject: [PATCH] Update version_update_trigger.yml --- .github/workflows/version_update_trigger.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/version_update_trigger.yml b/.github/workflows/version_update_trigger.yml index cfc38481..fc2a0ecd 100644 --- a/.github/workflows/version_update_trigger.yml +++ b/.github/workflows/version_update_trigger.yml @@ -35,10 +35,10 @@ jobs: versionName=${version_line/$pattern1/} versionName=${versionName/$pattern2/} prBody="${{ github.event.pull_request.body }}" + finalVersionName="${versionName}" + echo "$prBody" + echo "$versionName" curl -X POST -H 'Content-type: application/json; charset=UTF-8' \ -H "Authorization: Bearer ${{ secrets.CHECKOUT_SLACK_BOT_TOKEN }}" \ - --data '{ - "channel": "C02GTS30HUN", - "text": "Version update found for Checkout PG Core SDK. Please find the version update details below:\nSDK Variant: React Native Standard Checkout SDK\nNew Version:`${versionName}`\nChangelog:`${prBody}`\ncc: " - }' \ + --data "{\"channel\":\"C02GTS30HUN\",\"text\":\"Version update found for Checkout PG Core SDK. Please find the version update details below:\\nSDK Variant: React Native Standard Checkout SDK\\nNew Version:${versionName}\\nChangelog:${prBody}\\ncc:\"}" \ https://slack.com/api/chat.postMessage \ No newline at end of file