Skip to content

Commit

Permalink
update mattermost template
Browse files Browse the repository at this point in the history
  • Loading branch information
kshann committed Nov 19, 2024
1 parent fdf8436 commit cc273c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<%= app_platform %> app has been successfully uploaded to <%= destination %> :goose_honk_tada: | [:github: Workflow run summary](<%= workflow_url %>)
<%= platform %> app has been successfully uploaded to <%= destination %> :goose_honk_tada: | [:github: Workflow run summary](<%= workflow_url %>)
Original file line number Diff line number Diff line change
@@ -1 +1 @@
:rotating_light: macOS app <%= destination %> workflow failed | [:github: Workflow run summary](<%= workflow_url %>)
:rotating_light: <%= platform %> app <%= destination %> workflow failed | [:github: Workflow run summary](<%= workflow_url %>)
3 changes: 2 additions & 1 deletion spec/mattermost_send_message_action_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
expected = "macOS app has been successfully uploaded to testflight :goose_honk_tada: | [:github: Workflow run summary](https://workflow.com)"

expect(process_template("public-release-complete", {
"app_platform" => "macOS",
"platform" => "macOS",
"destination" => "testflight",
"workflow_url" => "https://workflow.com"
})).to eq(expected)
Expand All @@ -138,6 +138,7 @@
expected = ":rotating_light: macOS app testflight workflow failed | [:github: Workflow run summary](https://workflow.com)"

expect(process_template("public-release-failed", {
"platform" => "macOS",
"destination" => "testflight",
"workflow_url" => "https://workflow.com"
})).to eq(expected)
Expand Down

0 comments on commit cc273c6

Please sign in to comment.