Skip to content

Commit 458ed9a

Browse files
committed
ci: updating conventional_commits_next_version usage to v5
1 parent e5d3f0b commit 458ed9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ bin-conventional-commits-next-version-checking:
6262
- latest_tag=$(git tag --sort=-committerdate | grep "${BIN_TAG_REGEX}" | head -1)
6363
- latest_version=$(echo "${latest_tag}" | cut -d '-' -f 2)
6464
# Check current vs expected.
65-
- /usr/local/cargo/bin/conventional_commits_next_version --batch-commits --from-reference "${latest_tag}" --from-version "${latest_version}" --current-version "${current_version}" --monorepo "${BIN_DIRECTORY}/"
65+
- /usr/local/cargo/bin/conventional_commits_next_version --calculation-mode "Batch" --from-reference "${latest_tag}" --from-version "${latest_version}" --current-version "${current_version}" --monorepo "${BIN_DIRECTORY}/"
6666
rules:
6767
- if: $CI_MERGE_REQUEST_ID
6868

@@ -79,7 +79,7 @@ lib-conventional-commits-next-version-checking:
7979
- latest_tag=$(git tag --sort=-committerdate | grep "${LIB_TAG_REGEX}" | head -1)
8080
- latest_version=$(echo "${latest_tag}" | cut -d '-' -f 2)
8181
# Check current vs expected.
82-
- /usr/local/cargo/bin/conventional_commits_next_version --batch-commits --from-reference "${latest_tag}" --from-version "${latest_version}" --current-version "${current_version}" --monorepo "${LIB_DIRECTORY}/"
82+
- /usr/local/cargo/bin/conventional_commits_next_version --calculation-mode "Batch" --from-reference "${latest_tag}" --from-version "${latest_version}" --current-version "${current_version}" --monorepo "${LIB_DIRECTORY}/"
8383
rules:
8484
- if: $CI_MERGE_REQUEST_ID
8585

0 commit comments

Comments
 (0)