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

Can't run as cargo subcommand #114

Closed
dimtpap opened this issue Jul 9, 2024 · 2 comments · Fixed by #115
Closed

Can't run as cargo subcommand #114

dimtpap opened this issue Jul 9, 2024 · 2 comments · Fixed by #115
Labels
bug Something isn't working

Comments

@dimtpap
Copy link

dimtpap commented Jul 9, 2024

Running as a Cargo subcommand always fails

$ cargo generate-rpm  
error: The following required argument was not provided: auto_req

whereas directly running the executable

$ cargo-generate-rpm

runs normally.

This is the case even in a fresh Cargo project (cargo new --bin ./gen-rpm-test) with this simple Cargo.toml

[package]
name = "gen-rpm-test"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = "test"

[dependencies]

[package.metadata.generate-rpm]
assets = [
    { source = "target/release/gen-rpm-test", dest = "/usr/bin/gen-rpm-test", mode = "755" }
]
@cat-in-136 cat-in-136 added the bug Something isn't working label Jul 9, 2024
@cat-in-136
Copy link
Owner

Thank you for reporting.

It is a degrade of v0.15.0 which seems to be caused by 1a226c9

@everythingfunctional
Copy link

Came to report the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants