From d07b30a0d5ff1ec50515e5877c8ab5df29d8d256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roger=20Sch=C3=B6nb=C3=A4chler?= <42278642+schoero@users.noreply.github.com> Date: Sat, 30 Sep 2023 07:23:40 +0200 Subject: [PATCH] chore: fix release scripts --- package.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 7368d85..19f3362 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "4.0.0-alpha.4", + "version": "4.0.0-alpha.5", "type": "module", "name": "swissqrbill", "description": "Swiss QR Bill generation in Node.js and browsers", @@ -63,10 +63,12 @@ "prerelease": "npm run test -- --run && npm run build", "prerelease:alpha": "npm run test -- --run && npm run build", "prerelease:beta": "npm run test -- --run && npm run build", - "publish": "changelogen --publish && changelogen gh release", + "publish:alpha": "npm run publish:latest -- --publishTag alpha", + "publish:beta": "npm run publish:latest -- --publishTag beta", + "publish:latest": "changelogen gh release && changelogen --publish", "release": "changelogen --bump --output --no-tag", - "release:alpha": "npm run release -- --prerelease alpha --publishTag alpha", - "release:beta": "npm run release -- --prerelease beta --publishTag beta", + "release:alpha": "npm run release -- --prerelease alpha", + "release:beta": "npm run release -- --prerelease beta", "spellcheck": "cspell lint", "spellcheck:ci": "npm run spellcheck -- --no-progress", "test": "vitest --config ./vite.config.ts --threads=false",