Skip to content

Commit 2c38562

Browse files
committed
Fix registry index update
1 parent ee0cdab commit 2c38562

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [0.6.1] - 2019-11-14
10+
### Fixed
11+
- Fetch registry index instead of pull
12+
913
## [0.6.0] - 2019-11-14
1014
### Added
1115
- Added support for S3 storage behind the `s3` feature
@@ -60,7 +64,8 @@ for a user specified amount of time, rather than always
6064
### Added
6165
- Initial add of `cargo-fetcher`
6266

63-
[Unreleased]: https://github.com/EmbarkStudios/cargo-fetcher/compare/0.6.0...HEAD
67+
[Unreleased]: https://github.com/EmbarkStudios/cargo-fetcher/compare/0.6.1...HEAD
68+
[0.6.1]: https://github.com/EmbarkStudios/cargo-fetcher/compare/0.6.0...0.6.1
6469
[0.6.0]: https://github.com/EmbarkStudios/cargo-fetcher/compare/0.5.1...0.6.0
6570
[0.5.1]: https://github.com/EmbarkStudios/cargo-fetcher/compare/0.5.0...0.5.1
6671
[0.5.0]: https://github.com/EmbarkStudios/cargo-fetcher/compare/0.4.1...0.5.0

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-fetcher"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
authors = ["Embark <opensource@embark-studios.com>", "Jake Shadle <jake.shadle@embark-studios.com>"]
55
edition = "2018"
66
description = "🎁 Experimental alternative to cargo fetch"

src/sync.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ pub fn registry_index(ctx: &crate::Ctx) -> Result<(), Error> {
1919
// as a patch on top of an existing repo via git fetch is
2020
// presumably faster
2121
if index_path.join(".git").exists() {
22-
info!("registry index already exists, pulling instead");
22+
info!("registry index already exists, fetching instead");
2323

2424
let output = std::process::Command::new("git")
25-
.arg("pull")
25+
.arg("fetch")
2626
.current_dir(&index_path)
2727
.output()?;
2828

0 commit comments

Comments
 (0)