mirror of
https://github.com/status-im/status-go.git
synced 2025-02-22 11:48:31 +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
|
# 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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user