From e678b43c150a7de977602ec538b329ae4f2f0bb0 Mon Sep 17 00:00:00 2001 From: James McDonald Date: Sun, 3 May 2026 14:24:04 +0200 Subject: [PATCH] Add goreleaser config --- .gitignore | 1 + .goreleaser.yaml | 15 +++++++++++++++ mise.toml | 1 + 3 files changed, 17 insertions(+) create mode 100644 .goreleaser.yaml diff --git a/.gitignore b/.gitignore index ea8c4bf..4f96631 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /target +/dist diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..42ea727 --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,15 @@ +version: 2 +before: + hooks: + - cargo install --locked cargo-zigbuild +builds: + - builder: rust + # targets: + # - x86_64-unknown-linux-gnu + # - aarch64-unknown-linux-gnu +archives: + - formats: ["binary"] + +gitea_urls: + api: https://git.shee.sh/api/v1 + download: https://git.shee.sh diff --git a/mise.toml b/mise.toml index 95d23b8..34d9cab 100644 --- a/mise.toml +++ b/mise.toml @@ -1,2 +1,3 @@ [tools] rust = "latest" +zig = "latest"