mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 21:43:37 +00:00
Auto merge of #17368 - Veykril:dist-fix, r=Veykril
fix: Fix generated markers not being patchable in package.json I think the newlines are tripping up CI, so I hope clearing the property to leave an empty object won't make VSCode made here.
This commit is contained in:
commit
6a171952f7
2 changed files with 3 additions and 5 deletions
|
@ -4,6 +4,7 @@ tq = "test -- -q"
|
|||
qt = "tq"
|
||||
lint = "clippy --all-targets -- --cap-lints warn"
|
||||
codegen = "run --package xtask --bin xtask -- codegen"
|
||||
dist = "run --package xtask --bin xtask -- dist"
|
||||
|
||||
[target.x86_64-pc-windows-msvc]
|
||||
linker = "rust-lld"
|
||||
|
|
|
@ -70,11 +70,8 @@ fn dist_client(
|
|||
&format!(r#""version": "{version}""#),
|
||||
)
|
||||
.replace(r#""releaseTag": null"#, &format!(r#""releaseTag": "{release_tag}""#))
|
||||
.replace(
|
||||
" {\n \"title\": \"$generated-start\"\n },\n",
|
||||
"",
|
||||
)
|
||||
.replace(" { \"title\": \"$generated-end\" }\n", "")
|
||||
.replace(r#""title": "$generated-start""#, "")
|
||||
.replace(r#""title": "$generated-end""#, "")
|
||||
.replace(r#""enabledApiProposals": [],"#, r#""#);
|
||||
patch.commit(sh)?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue