Skip to content

Commit 25a1b2a

Browse files
Use the configured domain in the notify_owners email subject
1 parent e06f0ea commit 25a1b2a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/email.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,10 @@ pub fn notify_owners(
117117
publisher_email: &str,
118118
) {
119119
let subject = format!(
120-
"Crate {} ({}) published to crates.io",
121-
crate_name, crate_version
120+
"Crate {} ({}) published to {}",
121+
crate_name,
122+
crate_version,
123+
crate::config::domain_name()
122124
);
123125
let body = format!(
124126
"A crate you have publish access to has recently released a new version.

0 commit comments

Comments
 (0)