From ab75daf47ba643b7eabec76f0d7815d9f26e9667 Mon Sep 17 00:00:00 2001 From: Alexis Saettler Date: Sat, 16 May 2020 16:06:10 +0200 Subject: [PATCH] Update entrypoint (#17) --- apache/entrypoint.sh | 2 +- docker-entrypoint.sh | 2 +- fpm-alpine/entrypoint.sh | 2 +- fpm/entrypoint.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apache/entrypoint.sh b/apache/entrypoint.sh index 5ca3fe3..b98d29c 100755 --- a/apache/entrypoint.sh +++ b/apache/entrypoint.sh @@ -54,7 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if [ -n "${SENTRY_SUPPORT:-}" -a "$SENTRY_SUPPORT" = "true" -a -z "${SENTRY_NORELEASE:-}" -a -n "${SENTRY_ENV:-}" ]; then commit=$(cat .sentry-commit) release=$(cat .sentry-release) - ${ARTISAN} sentry:release --release="$release" --commit="$commit" --environment="$SENTRY_ENV" -v || true + ${ARTISAN} sentry:release --release="$release" --commit="$commit" --environment="$SENTRY_ENV" --force -v || true fi if [ ! -f "${STORAGE}/oauth-public.key" -o ! -f "${STORAGE}/oauth-private.key" ]; then diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 5ca3fe3..b98d29c 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -54,7 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if [ -n "${SENTRY_SUPPORT:-}" -a "$SENTRY_SUPPORT" = "true" -a -z "${SENTRY_NORELEASE:-}" -a -n "${SENTRY_ENV:-}" ]; then commit=$(cat .sentry-commit) release=$(cat .sentry-release) - ${ARTISAN} sentry:release --release="$release" --commit="$commit" --environment="$SENTRY_ENV" -v || true + ${ARTISAN} sentry:release --release="$release" --commit="$commit" --environment="$SENTRY_ENV" --force -v || true fi if [ ! -f "${STORAGE}/oauth-public.key" -o ! -f "${STORAGE}/oauth-private.key" ]; then diff --git a/fpm-alpine/entrypoint.sh b/fpm-alpine/entrypoint.sh index 5ca3fe3..b98d29c 100755 --- a/fpm-alpine/entrypoint.sh +++ b/fpm-alpine/entrypoint.sh @@ -54,7 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if [ -n "${SENTRY_SUPPORT:-}" -a "$SENTRY_SUPPORT" = "true" -a -z "${SENTRY_NORELEASE:-}" -a -n "${SENTRY_ENV:-}" ]; then commit=$(cat .sentry-commit) release=$(cat .sentry-release) - ${ARTISAN} sentry:release --release="$release" --commit="$commit" --environment="$SENTRY_ENV" -v || true + ${ARTISAN} sentry:release --release="$release" --commit="$commit" --environment="$SENTRY_ENV" --force -v || true fi if [ ! -f "${STORAGE}/oauth-public.key" -o ! -f "${STORAGE}/oauth-private.key" ]; then diff --git a/fpm/entrypoint.sh b/fpm/entrypoint.sh index 5ca3fe3..b98d29c 100755 --- a/fpm/entrypoint.sh +++ b/fpm/entrypoint.sh @@ -54,7 +54,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if [ -n "${SENTRY_SUPPORT:-}" -a "$SENTRY_SUPPORT" = "true" -a -z "${SENTRY_NORELEASE:-}" -a -n "${SENTRY_ENV:-}" ]; then commit=$(cat .sentry-commit) release=$(cat .sentry-release) - ${ARTISAN} sentry:release --release="$release" --commit="$commit" --environment="$SENTRY_ENV" -v || true + ${ARTISAN} sentry:release --release="$release" --commit="$commit" --environment="$SENTRY_ENV" --force -v || true fi if [ ! -f "${STORAGE}/oauth-public.key" -o ! -f "${STORAGE}/oauth-private.key" ]; then