Skip to content

Commit

Permalink
Fix registry index update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Nov 14, 2019
1 parent ee0cdab commit 2c38562
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-fetcher"
version = "0.6.0"
version = "0.6.1"
authors = ["Embark <[email protected]>", "Jake Shadle <[email protected]>"]
edition = "2018"
description = "🎁 Experimental alternative to cargo fetch"
Expand Down
4 changes: 2 additions & 2 deletions src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()?;

Expand Down

0 comments on commit 2c38562

Please sign in to comment.