Skip to content

VoiceStudio is the open-source, fully-local ElevenLabs alternative — voice cloning, voice design, video dubbing, dictation, transcription & audiobook creation in 646 languages.

build: add make release shortcuts for the release helper

velixio6e7c2d7e7257
diff --git a/Makefile b/Makefile
new file mode 100644
index 000000000..98d7da551
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+# Maintainer shortcuts. The only target today is the release helper
+# (docs/RELEASING.md → Release helper); everything else uses bun/uv directly.
+
+.PHONY: release release-dry release-publish
+
+release: ## Cut a release: asks stable/beta, draft/publish, then confirms
+ uv run python scripts/release.py
+
+release-dry: ## Show the release plan, change nothing
+ uv run python scripts/release.py --dry-run
+
+release-publish: ## Publish an existing draft: make release-publish TAG=v0.5.8
+ @test -n "$(TAG)" || { echo "usage: make release-publish TAG=vX.Y.Z[-beta.N]"; exit 2; }
+ uv run python scripts/release.py --publish $(TAG)
diff --git a/docs/RELEASING.md b/docs/RELEASING.md
index 8aaa21fe2..ec4f04e83 100644
--- a/docs/RELEASING.md
+++ b/docs/RELEASING.md
@@ -162,7 +162,7 @@ branch. No Tauri build is maintained.
## Release helper
-`uv run python scripts/release.py` runs a release from a clean, up-to-date
+`make release` (or `uv run python scripts/release.py`) runs a release from a clean, up-to-date
`main`. It asks **stable or beta**, suggests the next version, asks **draft or
publish**, prints the plan, and only proceeds when you type the tag name.
@@ -173,8 +173,9 @@ publish**, prints the plan, and only proceeds when you type the tag name.
- **Publish:** the same, then dispatches `electron-release.yml` with
`publish=true`. If the Mac/Windows signing secrets are missing or unreadable it
stops unless you explicitly accept unsigned installers.
-- `--publish vX.Y.Z[-beta.N]` publishes an existing draft build later.
-- `--dry-run` prints the plan and changes nothing.
+- `--publish vX.Y.Z[-beta.N]` (`make release-publish TAG=…`) publishes an existing
+ draft build later.
+- `--dry-run` (`make release-dry`) prints the plan and changes nothing.
It does not replace the post-release verification below; run it every time.