cat-in-136/cargo-generate-rpm

Missing field: package.metadata

gustawdaniel opened this issue · 2 comments

After command

cargo generate-rpm

I have error

Missing field: package.metadata

Fixed by

[package.metadata.generate-rpm]
assets = [
    { source = "target/release/gpt-cli", dest = "/usr/bin/gpt-cli", mode = "755" },
    { source = "gpt-cli.svg", dest = "/usr/share/icons/hicolor/", mode = "644" },
]

Thanks @cat-in-136