Add rpm package to workflow.

Improve workflows.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-05-09 22:26:47 +00:00
1 parent 8bfe63d45f
commit aa27ab855b
11 files changed
+260 -47

No files matched your search

+10
View File
@@ -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",