Add rpm package to workflow.
Improve workflows. Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -34,6 +34,16 @@ assets = [
|
||||
["../../tuwunel-example.toml", "etc/tuwunel/tuwunel.toml", "640"],
|
||||
]
|
||||
|
||||
[package.metadata.generate-rpm]
|
||||
name = "tuwunel"
|
||||
summary = """\
|
||||
High performance Matrix homeserver written in Rust"""
|
||||
assets = [
|
||||
{ source = "target/release/tuwunel", dest = "/usr/sbin/tuwunel", mode = "755" },
|
||||
{ source = "README.md", dest = "/usr/share/doc/tuwunel/", mode = "644", doc = true },
|
||||
{ source = "tuwunel-example.toml", dest = "/etc/tuwunel/tuwunel.toml", mode = "640", config = "noreplace" },
|
||||
]
|
||||
|
||||
[features]
|
||||
default = [
|
||||
"brotli_compression",
|
||||
|
||||
Reference in New Issue
Block a user