fix: client distribution string replacement looking for wrong key

This commit is contained in:
Lukas Wirth 2022-03-08 02:32:35 +01:00
parent 93b09ca067
commit d425c5b534

View file

@ -55,7 +55,7 @@ fn dist_client(version: &str, release_tag: &str, target: &Target) -> Result<()>
.replace(r#""releaseTag": null"#, &format!(r#""releaseTag": "{}""#, release_tag))
.replace(r#""$generated-start": {},"#, "")
.replace(",\n \"$generated-end\": {}", "")
.replace(r#""enableProposedApi": true,"#, r#""#);
.replace(r#""enabledApiProposals": true,"#, r#""#);
patch.commit()?;
Ok(())