diff --git a/http/nginx.conf b/http/nginx.conf index be38afb..c6aa278 100644 --- a/http/nginx.conf +++ b/http/nginx.conf @@ -25,7 +25,6 @@ http { server { listen 8080 default_server; - listen [::]:8080 default_server; server_name _; root /srv/repository; diff --git a/scripts/build-release.sh b/scripts/build-release.sh index 031c4ef..575fbb5 100755 --- a/scripts/build-release.sh +++ b/scripts/build-release.sh @@ -157,6 +157,7 @@ fi if aptly -config="$APTLY_CONF" publish list -raw | awk -v d="$REPO_DISTRIBUTION" '$2 == d {found=1} END{exit !found}'; then aptly -config="$APTLY_CONF" publish switch \ + -force-overwrite \ "${APTLY_SIGN_ARGS[@]}" \ "$REPO_DISTRIBUTION" . "$SNAPSHOT" >/dev/null else