feat: add goreleaser config for cross-platform releases
Some checks failed
continuous-integration/drone/push Build encountered an error

Set up GoReleaser with Rust builder (cargo-zigbuild) targeting
linux/darwin x amd64/arm64, Gitea release publishing, and Homebrew
cask generation. Add mise tasks for test, release, and snapshot builds.
This commit is contained in:
2026-03-20 15:15:37 +01:00
parent f3cc24c9fc
commit be8faa6a36
5 changed files with 91 additions and 0 deletions

View File

@@ -1,6 +1,21 @@
[tools]
rust = "1.93"
cargo = "latest"
goreleaser = "latest"
zig = "latest"
"cargo:cargo-zigbuild" = "latest"
[tasks.install]
run = "cargo install --path ./crates/gitnow"
[tasks.test]
run = "cargo test --workspace"
description = "Run all workspace tests"
[tasks.release]
run = "goreleaser release --clean"
description = "Create a release using GoReleaser (requires GITEA_TOKEN and a git tag)"
[tasks.release-snapshot]
run = "goreleaser release --snapshot --clean"
description = "Build a local snapshot release without publishing"