Files
gitnow/mise.toml
kjuulh 6a49c1eedc
Some checks failed
Release / release (push) Failing after 1m10s
fix: add ca-certificates and pkg-config to release Dockerfile
Add missing ca-certificates (for curl/mise install), pkg-config and
libssl-dev (for cargo builds). Remove redundant cargo tool from
mise.toml since it ships with rust.
2026-03-20 15:47:08 +01:00

28 lines
780 B
TOML

[tools]
rust = "1.93"
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"
[tasks.release-docker]
run = """
docker build -f Dockerfile.release -t gitnow-release .
docker run --rm -v "$PWD:/build" -w /build -e GITEA_TOKEN gitnow-release release --snapshot --clean
"""
description = "Test the release Docker image locally (snapshot mode)"