You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
commits=$(echo "$commits"| sed "s/Megan Bananzadeh/<@megan.bananzadeh>/g")
93
93
commits=$(echo "$commits"| sed "s/Delphine Foo-Matkin/<@delphine.foo-matkin>/g")
94
+
commits=$(echo "$commits"| sed "s/Andy Ray/<@andrew.ray>/g")
94
95
commits=$(echo "$commits"| sed "/Merge branch 'master'/d")
95
96
commits=$(echo "$commits"| sed "s/^/• /g")
96
97
local merge_count
97
-
merge_count=$(echo "$commits"| wc -l)
98
+
merge_count=$(echo "$commits"| wc -l| sed 's/ *$//g')
98
99
99
100
local message
100
101
message=":redlight: :clock3: A *Production deploy has been scheduled for ${time_to_deploy} PT today.* Say '<@placebo> pause deploy' to cancel\\n\\nThe difference between production (${last_production_commit}) and UAT (${master_commit}) is *${merge_count} stories:*\\n\\n${commits}"
0 commit comments