From 1f5337eb969acdd0a9895f37f08436d3845bf581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Bjerke?= Date: Thu, 26 Sep 2024 10:13:34 +0200 Subject: [PATCH] ci: add release rules for breaking "feat!" and "fix!" prefixes (#2273) Should trigger major version bump. --- typescript/.nxreleaserc.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/typescript/.nxreleaserc.json b/typescript/.nxreleaserc.json index e27944594..3ee417926 100644 --- a/typescript/.nxreleaserc.json +++ b/typescript/.nxreleaserc.json @@ -11,5 +11,9 @@ ], "buildTarget": "${PROJECT_NAME}:build", "outputPath": "${PROJECT_DIR}/dist", - "tagFormat": "${PROJECT_NAME}@${version}" + "tagFormat": "${PROJECT_NAME}@${version}", + "releaseRules": [ + { "type": "feat!", "release": "major" }, + { "type": "fix!", "release": "major" } + ] }