Files
schpet__linear-cli/justfile
T
Peter Schilling 8952726213 fix release script
2025-12-01 21:42:05 -08:00

25 lines
782 B
Makefile

dev *args:
deno run -A src/main.ts {{ args }}
# tags the newest release in the changelog
tag:
deno check --all
deno fmt --check
deno lint
deno task test
svbump write "$(changelog version latest)" version deno.json
svbump write "$(svbump read version deno.json)" package.version dist-workspace.toml
jj commit -m "chore: Release linear-cli version $(svbump read version deno.json)"
jj bookmark set main -r @-
jj tag set "v$(svbump read version deno.json)" -r @-
@echo "tagged v$(svbump read version deno.json)"
git push origin --tags
# depends on `cargo install --git https://github.com/astral-sh/cargo-dist.git --tag v0.28.3 cargo-dist`
# cargo-dist - needed to update .github/workflows/release.yml
dist-generate:
dist generate