Credit myself in changelog (#2162)
This commit is contained in:
parent
1547af08b5
commit
bf6ec6bf16
934
CHANGELOG.md
934
CHANGELOG.md
File diff suppressed because it is too large
Load Diff
@ -31,12 +31,8 @@ fn main() {
|
|||||||
&fs::read_to_string("CHANGELOG.md").unwrap(),
|
&fs::read_to_string("CHANGELOG.md").unwrap(),
|
||||||
|captures: &Captures| {
|
|captures: &Captures| {
|
||||||
let pr = captures[1].parse().unwrap();
|
let pr = captures[1].parse().unwrap();
|
||||||
match author(pr).as_str() {
|
let contributor = author(pr);
|
||||||
"casey" => format!("([#{pr}](https://github.com/casey/just/pull/{pr}))"),
|
|
||||||
contributor => {
|
|
||||||
format!("([#{pr}](https://github.com/casey/just/pull/{pr}) by [{contributor}](https://github.com/{contributor}))")
|
format!("([#{pr}](https://github.com/casey/just/pull/{pr}) by [{contributor}](https://github.com/{contributor}))")
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user