mirror of
https://github.com/schpet/linear-cli.git
synced 2026-09-14 14:26:50 +08:00
2ea8138cf4
CLI-5
21 lines
636 B
Makefile
21 lines
636 B
Makefile
dev *args:
|
|
deno run -A main.ts {{ args }}
|
|
|
|
# tags the newest release in the changelog
|
|
tag:
|
|
deno check main.ts
|
|
deno fmt --check
|
|
|
|
svbump write "$(changelog version latest)" version deno.json
|
|
svbump write "$(svbump read version deno.json)" package.version dist-workspace.toml
|
|
|
|
git add deno.json dist-workspace.toml CHANGELOG.md
|
|
git commit -m "chore: Release linear-cli version $(svbump read version deno.json)"
|
|
git tag "v$(svbump read version deno.json)"
|
|
|
|
@echo "tagged v$(svbump read version deno.json)"
|
|
@echo
|
|
@echo "run this to release it:"
|
|
@echo
|
|
@echo " git push origin HEAD --tags"
|