diff options
author | Laurențiu Nicola <[email protected]> | 2021-06-15 07:32:53 +0100 |
---|---|---|
committer | Laurențiu Nicola <[email protected]> | 2021-06-15 07:40:43 +0100 |
commit | 41949748a6123fd6061eb984a47f4fe780525e63 (patch) | |
tree | 237eaf8e189c2bc20aa9251d1c901645abacd311 /xtask/src | |
parent | 447d849c9ecb3d0f7783a56db429ccc526d0d8dc (diff) |
Use objects instead of bools for markers in package.json
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/dist.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs index 3a67294c5..c7363688a 100644 --- a/xtask/src/dist.rs +++ b/xtask/src/dist.rs | |||
@@ -45,8 +45,8 @@ fn dist_client(version: &str, release_tag: &str) -> Result<()> { | |||
45 | patch | 45 | patch |
46 | .replace(r#""version": "0.4.0-dev""#, &format!(r#""version": "{}""#, version)) | 46 | .replace(r#""version": "0.4.0-dev""#, &format!(r#""version": "{}""#, version)) |
47 | .replace(r#""releaseTag": null"#, &format!(r#""releaseTag": "{}""#, release_tag)) | 47 | .replace(r#""releaseTag": null"#, &format!(r#""releaseTag": "{}""#, release_tag)) |
48 | .replace(r#""$generated-start": false,"#, "") | 48 | .replace(r#""$generated-start": {},"#, "") |
49 | .replace(",\n \"$generated-end\": false", ""); | 49 | .replace(",\n \"$generated-end\": {}", ""); |
50 | 50 | ||
51 | if nightly { | 51 | if nightly { |
52 | patch.replace( | 52 | patch.replace( |