From eebcfd85ab307fc5c82d662416b0e60a3cc6c7ab Mon Sep 17 00:00:00 2001 From: Michael Hobbs Date: Thu, 9 Jul 2015 13:15:57 -0700 Subject: [PATCH] fix deprecated comments and include *-buildstep pluginhooks for point release --- plugins/00_dokku-standard/commands | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/plugins/00_dokku-standard/commands b/plugins/00_dokku-standard/commands index f0ba52e28..96724c8d2 100755 --- a/plugins/00_dokku-standard/commands +++ b/plugins/00_dokku-standard/commands @@ -16,8 +16,10 @@ case "$1" in test "$(docker wait $id)" -eq 0 docker commit $id $IMAGE > /dev/null [[ -d $CACHE_DIR ]] || mkdir $CACHE_DIR - # *DEPRECATED* in v0.4.0: `pluginhook pre-build` will be removed in future releases + # *DEPRECATED* in v0.3.15: `pluginhook pre-build` will be removed in future releases pluginhook pre-build "$APP" + # *DEPRECATED* in v0.3.22: `pluginhook pre-build-buildstep` will be removed in future releases + pluginhook pre-build-buildstep "$APP" pluginhook pre-build-buildpack "$APP" # *DEPRECATED* in v0.3.14: `pluginhook docker-args` will be removed in future releases @@ -29,8 +31,10 @@ case "$1" in test "$(docker wait $id)" -eq 0 docker commit $id $IMAGE > /dev/null - # *DEPRECATED* in v0.4.0: `pluginhook post-build` will be removed in future releases + # *DEPRECATED* in v0.3.15: `pluginhook post-build` will be removed in future releases pluginhook post-build "$APP" + # *DEPRECATED* in v0.3.22: `pluginhook post-build-buildstep` will be removed in future releases + pluginhook post-build-buildstep "$APP" pluginhook post-build-buildpack "$APP" ;; @@ -58,8 +62,10 @@ case "$1" in APP="$2"; IMAGE="dokku/$APP"; IMAGE_SOURCE_TYPE="$3" case "$IMAGE_SOURCE_TYPE" in herokuish) - # *DEPRECATED* in v0.4.0: `pluginhook pre-release` will be removed in future releases + # *DEPRECATED* in v0.3.15: `pluginhook pre-release` will be removed in future releases pluginhook pre-release "$APP" + # *DEPRECATED* in v0.3.22: `pluginhook pre-release-buildstep` will be removed in future releases + pluginhook pre-release-buildstep "$APP" pluginhook pre-release-buildpack "$APP" if [[ -f "$DOKKU_ROOT/ENV" ]]; then id=$(docker run -i -a stdin $IMAGE /bin/bash -c "mkdir -p /app/.profile.d && cat > /app/.profile.d/00-global-env.sh" < "$DOKKU_ROOT/ENV") @@ -71,8 +77,10 @@ case "$1" in test "$(docker wait $id)" -eq 0 docker commit $id $IMAGE > /dev/null fi - # *DEPRECATED* in v0.4.0: `pluginhook post-release` will be removed in future releases + # *DEPRECATED* in v0.3.15: `pluginhook post-release` will be removed in future releases pluginhook post-release "$APP" + # *DEPRECATED* in v0.3.22: `pluginhook post-release-buildstep` will be removed in future releases + pluginhook post-release-buildstep "$APP" pluginhook post-release-buildpack "$APP" ;;