@@ -16,7 +16,8 @@
16set -o nounset
16set -o nounset
17set -o errexit
17set -o errexit
19+DIR=$( dirname $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ))
19−. lib/common.sh
20+. "${DIR}/scripts/lib/common.sh"
22 echo " bump-versions.sh <POSITION> [-d|--dry-run]"
23 echo " bump-versions.sh <POSITION> [-d|--dry-run]"
@@ -54,8 +55,11 @@ while [ "${1:-unset}" != "unset" ] ; do
56if $DRY_RUN ; then
57if $DRY_RUN ; then
58+ echo "Would have bumped position ${POSITION} on these packages:"
57− bumper --dry-run -"$POSITION" $(join , "${SOURCES[@]}")
59+ ( cd "$ROOT" && bumper --dry-run -"$POSITION" $(join , "${SOURCES[@]}") )
59− bumper -"$POSITION" $(join , "${SOURCES[@]}")
61+ ( cd "$ROOT" && bumper -"$POSITION" $(join , "${SOURCES[@]}") )
64+# Trailing newline, bumper does not ship with its own.