lsd-rs / lsd

The next gen ls command
Apache License 2.0
13.16k stars 429 forks source link

Release v1.0.0 to cargo #885

Closed almereyda closed 1 year ago

almereyda commented 1 year ago

Cargo only serves versions up to v0.23.1:

Expected behavior

Cargo/crates.io has v1.0.0 available.

Actual behavior

cargo install lsd will install an older version, as shown within #883

almereyda commented 1 year ago

The current workaround is to run:

$ cargo install --git https://github.com/lsd-rs/lsd --tag v1.0.0
…
$ lsd --version
lsd 1.0.0
JoeKae commented 1 year ago
cargo install --git https://github.com/lsd-rs/lsd --tag v1.0.0
Updating git repository `https://github.com/lsd-rs/lsd`
error: failed to parse manifest at `/root/.cargo/git/checkouts/lsd-9b61351838db256d/9b8ed0e/Cargo.toml`
Caused by:
  invalid type: unit variant, expected string only for key `profile.release.strip`
0323pin commented 1 year ago
  • debian bullseye
  • cargo 1.46.0
cargo install --git https://github.com/lsd-rs/lsd --tag v1.0.0
Updating git repository `https://github.com/lsd-rs/lsd`
error: failed to parse manifest at `/root/.cargo/git/checkouts/lsd-9b61351838db256d/9b8ed0e/Cargo.toml`
Caused by:
  invalid type: unit variant, expected string only for key `profile.release.strip`

IIRC strip was introduced in Rust-1.59 (current Rust is at 1.72). Rust-1.46 is simply too old.

kakulukia commented 1 year ago

Why was it no released to crates.io first?

zwpaper commented 1 year ago

released https://crates.io/crates/lsd/versions

/close

muniu-bot[bot] commented 1 year ago

@zwpaper: Closing this issue.

In response to [this](https://github.com/lsd-rs/lsd/issues/885#issuecomment-1698460677): >released https://crates.io/crates/lsd/versions > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.