Fix commit msg to version correctly on bump 54/92054/1
authorThanh Ha <zxiiro@gmail.com>
Tue, 11 Aug 2020 18:28:32 +0000 (14:28 -0400)
committerThanh Ha <zxiiro@gmail.com>
Tue, 11 Aug 2020 18:28:32 +0000 (14:28 -0400)
commit6bfc1211fbafcae3ec17466f94474ac726235bd2
tree0371086c63407ff1431d0f5998a33d097be759d4
parent1cb46d1e6562b1e258fd8937f08056cb7d3c50d1
Fix commit msg to version correctly on bump

When version bump when branch cutting we want to bump by x.(y+1).z
and when performing a release bump we want to bump by x.y.(z+1)
however the current code always sets the message to "Bump version by
x.y.(z+1)" regardless of what kind of bump it was.

Change-Id: Ic88946b61f9381792c5c61190530d5d8b35e03ee
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
jjb/autorelease/version-bump.sh