From: Karl O. Pinc Date: Fri, 6 Dec 2019 03:34:51 +0000 (-0600) Subject: Add tag when bumping version X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=e2d50d03d02add804e7776f52df0fbb224237376;p=pgwui_develop Add tag when bumping version --- diff --git a/bump_version b/bump_version index 399890c..85eee35 100755 --- a/bump_version +++ b/bump_version @@ -22,7 +22,9 @@ commit_version() { git add src/$1/VERSION - git commit -m "Bump version number to $(cat src/$1/VERSION)" + vnum=$(cat src/$1/VERSION) + git commit -m "Bump version number to ${vnum}" + git tag -a v${vnum} -m "Version v${vnum}" } update_version() {