bump: clean up the script

Change-Id: Idd72403f7f01565a7acd2f8a2a5b89cfd2016618
(cherry picked from commit 1ccb3f773c543fc39d9ae4a679d43ba79cf4d658)