bump-version template


/ Published in: Bash
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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. }

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.