Add release-it configuration
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 16 Oct 2022 17:42:49 +0000 (19:42 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 16 Oct 2022 17:42:49 +0000 (19:42 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.release-it.json [new file with mode: 0644]

diff --git a/.release-it.json b/.release-it.json
new file mode 100644 (file)
index 0000000..83715bc
--- /dev/null
@@ -0,0 +1,22 @@
+{
+  "git": {
+    "commitMessage": "v${version}",
+    "tagAnnotation": "v${version}",
+    "pushRepo": "upstream"
+  },
+  "npm": {
+    "publish": false
+  },
+  "github": {
+    "release": true,
+    "releaseName": "v${version}"
+  },
+  "hooks": {
+    "after:bump": "npm run sonar:properties"
+  },
+  "plugins": {
+    "@release-it/keep-a-changelog": {
+      "filename": "CHANGELOG.md"
+    }
+  }
+}