summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorziggys <ziggys@autistici.org>2018-07-13 18:35:18 -0400
committerziggys <ziggys@autistici.org>2018-07-13 18:35:18 -0400
commit0af28f05937ddeed385cd6fa1af4b6d63d527b45 (patch)
treecdd4a96eb54b3c767b751b7d81bd75508343eb68
parenta758cf0bf011233d90e3ae3309d563a208b51188 (diff)
downloadsnippets-0af28f05937ddeed385cd6fa1af4b6d63d527b45.zip
snippets-0af28f05937ddeed385cd6fa1af4b6d63d527b45.tar
usage
-rwxr-xr-xbump-version.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/bump-version.sh b/bump-version.sh
index 7990825..0284612 100755
--- a/bump-version.sh
+++ b/bump-version.sh
@@ -8,7 +8,7 @@
# scriptinfo
SCRIPTNAME="${0##*/}"
SCRIPTNAME="${SCRIPTNAME%%.sh}"
-VERSION="0.0.1" # create snippet
+VERSION="0.0.2" # usage
AUTHOR="ziggys"
LICENSE="Public Domain"
@@ -23,13 +23,13 @@ ${SCRIPTNAME} version ${VERSION}
${SCRIPTNAME} is a shellscript to bump version numbers in git projects.
Usage: ${SCRIPTNAME} [option] <args>
-Usage: ${SCRIPTNAME} [-|-b] <args>
+Usage: ${SCRIPTNAME} [-p|-u|-r] version_file -m "message"
or: ${SCRIPTNAME} -h
Options
- patch <version> Bump to new patch <version>
- minor <version> Bump to new minor <version>
- mayor <release> Bump to new mayor <release>
+ -p version file Bump to new patch version
+ -u version_file Bump to new minor/updated version
+ -r version_file Bump to new mayor release version
-h HELP Print this help and exit
For more details about this script go to