mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Update dist.rs
This commit is contained in:
parent
55540f1f85
commit
bfc7d3f1b2
1 changed files with 5 additions and 2 deletions
|
@ -70,8 +70,11 @@ fn dist_client(
|
|||
&format!(r#""version": "{version}""#),
|
||||
)
|
||||
.replace(r#""releaseTag": null"#, &format!(r#""releaseTag": "{release_tag}""#))
|
||||
.replace(r#""$generated-start": {},"#, "")
|
||||
.replace(",\n \"$generated-end\": {}", "")
|
||||
.replace(
|
||||
" {\n \"title\": \"$generated-start\"\n },\n",
|
||||
"",
|
||||
)
|
||||
.replace(" { \"title\": \"$generated-end\" }\n", "")
|
||||
.replace(r#""enabledApiProposals": [],"#, r#""#);
|
||||
patch.commit(sh)?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue