fix: properly parse releease command when there is an entrypoint

Closes #4232
This commit is contained in:
Jose Diaz-Gonzalez
2020-12-11 11:44:13 -05:00
parent 775432c73f
commit 26b95854d4
3 changed files with 15 additions and 14 deletions

View File

@@ -450,6 +450,13 @@ some lame nginx config
EOF
}
add_release_command() {
local APP="$1"
local APP_REPO_DIR="$2"
[[ -z "$APP" ]] && local APP="$TEST_APP"
echo "release: touch /app/release.test" >> "$APP_REPO_DIR/Procfile"
}
build_nginx_config() {
# simulate nginx post-deploy
dokku domains:setup "$TEST_APP"