From 45a1fbc9bfc4c3f4fefd3775eec273db8cd729e5 Mon Sep 17 00:00:00 2001 From: andyrids <52859097+andyrids@users.noreply.github.com> Date: Mon, 28 Sep 2026 19:34:27 +0100 Subject: [PATCH] fix: update recipe for release in Justfile --- Justfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Justfile b/Justfile index 96034ad..4012819 100644 --- a/Justfile +++ b/Justfile @@ -5,6 +5,7 @@ set shell := ["bash", "-euo", "pipefail", "-c"] set shell := ["cmd.exe", "/c"] set dotenv-load := true +set lists := true [default] @_: @@ -42,10 +43,11 @@ symlink-agents: [doc("Bump version, tag & trigger release")] [group("DEV")] -release PART: +[arg("PART", pattern=["major", "minor", "patch"])] +release PART *FLAGS: git fetch --prune git switch main && git pull - uv run bump-my-version {{PART}} + uv run bump-my-version bump {{PART}} {{FLAGS}} git push --atomic origin main --follow-tags git switch develop && git pull git merge --ff-only main