Posted By

Arvi on 09/05/11


Tagged

bump-version


Versions (?)

bump-version template


 / Published in: Bash
 

URL: http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/

Bump-version template I use for GIT. Saved as bump-version.sh

  1. PRODUCT_NAME_VERSION=v.1.0.0
  2.  
  3. usage() {
  4. echo "usage: product_name version"
  5. }
  6.  
  7. cmd_default() {
  8. echo "$PRODUCT_NAME_VERSION"
  9. }
  10.  
  11. cmd_help() {
  12. usage
  13. exit 0
  14. }

Report this snippet  

You need to login to post a comment.