Skip to content

Commit

Permalink
fix: distinguish project by adding prefix on sending message to discord
Browse files Browse the repository at this point in the history
  • Loading branch information
bigearsenal committed Feb 19, 2024
1 parent e02dcfd commit 986e590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ platform :ios do
"curl",
"-v",
"-H", "Content-Type: application/json",
"-d", "{\"message\":\"Version **#{full_version}#{build_rc_suffix}** is being built and sent to Testflight...\", \"channel_id\":#{DISCORD_IOS_BUILD_CHANNEL_ID}}",
"-d", "{\"message\":\"[KeyApp] Version **#{full_version}#{build_rc_suffix}** is being built and sent to Testflight...\", \"channel_id\":#{DISCORD_IOS_BUILD_CHANNEL_ID}}",
DISCORD_MESSAGE_API_ENDPOINT
)
rescue => ex
Expand Down Expand Up @@ -416,7 +416,7 @@ platform :ios do
"-v",
"-H", "Content-Type: application/json",
"-H", "Authorization: Bearer #{DISCORD_MESSAGE_API_BEARER_TOKEN}",
"-d", "{\"message\":\"#{message}\", \"channel_id\":#{DISCORD_IOS_BUILD_CHANNEL_ID}}",
"-d", "{\"message\":\"[KeyApp] #{message}\", \"channel_id\":#{DISCORD_IOS_BUILD_CHANNEL_ID}}",
DISCORD_MESSAGE_API_ENDPOINT
)
rescue => ex
Expand Down

0 comments on commit 986e590

Please sign in to comment.