From 7643a0bc1f1668700b98b43e18870d15740bd10c Mon Sep 17 00:00:00 2001 From: Stephen Zhou Date: Thu, 18 Apr 2024 19:42:18 +0800 Subject: [PATCH] fix: can not override increment in CI --- src/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index d939f1a..a14c18d 100644 --- a/src/index.js +++ b/src/index.js @@ -43,11 +43,15 @@ class ReleaseItPnpmPlugin extends Plugin { }); } + getIncrement(options) { + return options.increment; + } + getIncrementedVersionCI(options) { return this.getRecommendedVersion(options); } - async getIncrementedVersion(options) { + getIncrementedVersion(options) { return this.getRecommendedVersion(options); }