Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.0.0 to cargo #885

Closed
almereyda opened this issue Aug 28, 2023 · 6 comments
Closed

Release v1.0.0 to cargo #885

almereyda opened this issue Aug 28, 2023 · 6 comments

Comments

@almereyda
Copy link

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
Copy link
Author

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
Copy link

JoeKae commented Aug 28, 2023

  • 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`

@0323pin
Copy link

0323pin commented Aug 28, 2023

  • 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
Copy link

Why was it no released to crates.io first?

@zwpaper
Copy link
Member

zwpaper commented Aug 30, 2023

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

/close

@muniu-bot muniu-bot bot closed this as completed Aug 30, 2023
@muniu-bot
Copy link

muniu-bot bot commented Aug 30, 2023

@zwpaper: Closing this issue.

In response to this:

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

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants