mirror of
https://github.com/status-im/status-go.git
synced 2025-02-20 02:38:13 +00:00
fix(tag_version)_: bump major version on breaking change (#5829)
This commit is contained in:
parent
13ab5b6f24
commit
43353e036f
@ -18,10 +18,10 @@ bump_version() {
|
||||
|
||||
# Bump the version based on the type of change
|
||||
if [[ "$is_breaking_change" = true ]]; then
|
||||
((minor++))
|
||||
((patch=0))
|
||||
((major++))
|
||||
((minor=0))
|
||||
else
|
||||
((patch++))
|
||||
((minor++))
|
||||
fi
|
||||
|
||||
new_version="$major.$minor.$patch"
|
||||
|
Loading…
x
Reference in New Issue
Block a user