Closed vorner closed 5 years ago
Hmm. But we don't use the dash in the semver meaning, it's a build number. Is there a way to opt out of this and tell cargo deb
to keep it as it is?
--deb-version
command line flag is currently the way to opt out
Also you can use revision
in Cargo.toml
to add a number to the version
version = "0.1.18"
…
revision = "53"
I've made it accept numeric suffixes as-is
Thank you, yes indeed this works.
Hello
I have a project with version string containing a dash, eg
version = "0.1.18-53"
in theCargo.toml
. However, the package name I get from it isname_0.1.18~53_arch.deb
. Is there a particular reason why my dash gets changed? It's causing confusion in our internal system that expects dashes :-(.I'm using cargo-deb 1.20.
Thank you