fix(tag_version)_: bump major version on breaking change (#5829)

This commit is contained in:
Igor Sirotin 2024-09-13 15:54:37 +01:00 committed by GitHub
parent 13ab5b6f24
commit 43353e036f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,10 +18,10 @@ bump_version() {
# Bump the version based on the type of change # Bump the version based on the type of change
if [[ "$is_breaking_change" = true ]]; then if [[ "$is_breaking_change" = true ]]; then
((minor++)) ((major++))
((patch=0)) ((minor=0))
else else
((patch++)) ((minor++))
fi fi
new_version="$major.$minor.$patch" new_version="$major.$minor.$patch"