diff --git a/CHANGELOG.md b/CHANGELOG.md index 3470248..a24c32d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.6.1] - 2019-11-14 +### Fixed +- Fetch registry index instead of pull + ## [0.6.0] - 2019-11-14 ### Added - Added support for S3 storage behind the `s3` feature @@ -60,7 +64,8 @@ for a user specified amount of time, rather than always ### Added - Initial add of `cargo-fetcher` -[Unreleased]: https://github.com/EmbarkStudios/cargo-fetcher/compare/0.6.0...HEAD +[Unreleased]: https://github.com/EmbarkStudios/cargo-fetcher/compare/0.6.1...HEAD +[0.6.1]: https://github.com/EmbarkStudios/cargo-fetcher/compare/0.6.0...0.6.1 [0.6.0]: https://github.com/EmbarkStudios/cargo-fetcher/compare/0.5.1...0.6.0 [0.5.1]: https://github.com/EmbarkStudios/cargo-fetcher/compare/0.5.0...0.5.1 [0.5.0]: https://github.com/EmbarkStudios/cargo-fetcher/compare/0.4.1...0.5.0 diff --git a/Cargo.lock b/Cargo.lock index b208ac2..8f9370b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -161,7 +161,7 @@ dependencies = [ [[package]] name = "cargo-fetcher" -version = "0.6.0" +version = "0.6.1" dependencies = [ "anyhow 1.0.19 (registry+https://github.com/rust-lang/crates.io-index)", "app_dirs2 2.0.4 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index afd549f..3cb3d83 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-fetcher" -version = "0.6.0" +version = "0.6.1" authors = ["Embark ", "Jake Shadle "] edition = "2018" description = "🎁 Experimental alternative to cargo fetch" diff --git a/src/sync.rs b/src/sync.rs index 891a770..ccab707 100644 --- a/src/sync.rs +++ b/src/sync.rs @@ -19,10 +19,10 @@ pub fn registry_index(ctx: &crate::Ctx) -> Result<(), Error> { // as a patch on top of an existing repo via git fetch is // presumably faster if index_path.join(".git").exists() { - info!("registry index already exists, pulling instead"); + info!("registry index already exists, fetching instead"); let output = std::process::Command::new("git") - .arg("pull") + .arg("fetch") .current_dir(&index_path) .output()?;