eoinhurrell_obsidian-inboxer/justfile
Eoin H 1feddf44dc 1.5.6
fix: capture release tag from git instead of npm output
2026-05-19 00:31:07 +01:00

27 lines
396 B
Makefile

default: build
dev:
bun run dev
build:
bun run build
patch:
just _release patch
minor:
just _release minor
major:
just _release major
[private]
_release bump:
#!/usr/bin/env bash
set -eo pipefail
npm version "{{bump}}"
NEW_TAG=$(git describe --tags --abbrev=0)
bun run build
git push
git push origin "$NEW_TAG"
echo "Released ${NEW_TAG}"