Skip to content

Commit

Permalink
fix: made cli update local dependencies properly
Browse files Browse the repository at this point in the history
It didn't update them for the new integration, so beta 19 needs to be
yanked immediately.
  • Loading branch information
arctic-hen7 committed Dec 12, 2021
1 parent 971c8bc commit 3067071
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/perseus-cli/src/prepare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,12 @@ pub fn prepare(dir: PathBuf) -> Result<(), PrepError> {
&format!("version = \"{}\"", PERSEUS_VERSION),
)
.replace(
"{ path = \"../../../../packages/perseus-actix-web\" }",
&format!("\"{}\"", PERSEUS_VERSION),
"path = \"../../../../packages/perseus-actix-web\"",
&format!("version = \"{}\"", PERSEUS_VERSION),
)
.replace(
"path = \"../../../../packages/perseus-warp\"",
&format!("version = \"{}\"", PERSEUS_VERSION),
);
#[cfg(not(debug_assertions))]
let updated_builder_manifest = updated_builder_manifest.replace(
Expand Down

0 comments on commit 3067071

Please sign in to comment.