mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
13 lines
277 B
Bash
Executable File
13 lines
277 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
|
|
|
APP="$1"; REV="$2"
|
|
|
|
# Don't trigger tar build if there is no tarball.
|
|
if [[ ! -f "$DOKKU_ROOT/$APP/src.tar" ]]; then
|
|
true
|
|
else
|
|
dokku tar-build $APP
|
|
fi
|