2#===============================================================================
4# FILE: bump-versions.sh
6# USAGE: ./bump-versions.sh
8# DESCRIPTION: Bump the versions for all servant packages
11# REQUIREMENTS: bumper, bash >= 4
12# CREATED: 11.05.2015 21:36
14#===============================================================================
19DIR=$( dirname $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ))
20. "${DIR}/scripts/lib/common.sh"
23 echo " bump-versions.sh <POSITION> [-d|--dry-run]"
25 echo " Bumps the specified positional version of all servant packages."
26 echo " POSITION is a number between 0 and 3, inclusive."
31 echo "expecting one or more arguments. Got 0"
33elif [ $# -gt 2 ] ; then
34 echo "expecting one or more arguments"
40while [ "${1:-unset}" != "unset" ] ; do
43 -d | --dry-run) DRY_RUN=true
45 0) if POSITION="none" ; then POSITION=0 ; else usage ; fi
47 1) if POSITION="none" ; then POSITION=1 ; else usage ; fi
49 2) if POSITION="none" ; then POSITION=2 ; else usage ; fi
51 3) if POSITION="none" ; then POSITION=3 ; else usage ; fi
58 echo "Would have bumped position ${POSITION} on these packages:"
59 ( cd "$ROOT" && bumper --dry-run -"$POSITION" $(join , $SOURCES tutorial) )
61 ( cd "$ROOT" && bumper -"$POSITION" $(join , $SOURCES tutorial) )
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list