From 28e7aa92c18020b4723a3c4b12501fc00cd8f8ab Mon Sep 17 00:00:00 2001 From: open-pascal Date: Wed, 27 May 2026 18:44:20 +0000 Subject: [PATCH] chore(release): add 'none' bump option for first-time / already-bumped publishes --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d26ec64e..97472559 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,13 +15,14 @@ on: - ifc-converter - all bump: - description: "Version bump" + description: "Version bump (use 'none' to publish current version as-is)" required: true type: choice options: - patch - minor - major + - none dry-run: description: "Dry run (no publish)" required: false @@ -65,6 +66,7 @@ jobs: if [ "$BUMP" = "major" ]; then MAJ=$((MAJ+1)); MIN=0; PAT=0; fi if [ "$BUMP" = "minor" ]; then MIN=$((MIN+1)); PAT=0; fi if [ "$BUMP" = "patch" ]; then PAT=$((PAT+1)); fi + if [ "$BUMP" = "none" ]; then echo "$v"; return; fi echo "$MAJ.$MIN.$PAT" }