From 6a90609565b2e88341955521b6b500343e00fcd0 Mon Sep 17 00:00:00 2001 From: Dennis Schwerdel Date: Sat, 2 Sep 2017 19:35:33 +0200 Subject: [PATCH] Release 1.0.2 --- CHANGELOG | 2 ++ CloudronManifest.json | 2 +- start.sh | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index f2c7b61..2c8b9c1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -18,3 +18,5 @@ * Fixes critical security issue that allows remote command execution in git * https://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-1000117.html +[1.0.2] +* Preserve SECRET_KEY across updates and restarts diff --git a/CloudronManifest.json b/CloudronManifest.json index e2e981e..5923353 100644 --- a/CloudronManifest.json +++ b/CloudronManifest.json @@ -4,7 +4,7 @@ "author": "Gitea developers", "description": "file://DESCRIPTION.md", "tagline": "A painless self-hosted Git Service", - "version": "1.0.1", + "version": "1.0.2", "healthCheckPath": "/healthcheck", "httpPort": 3000, "addons": { diff --git a/start.sh b/start.sh index cb88aca..34f677a 100755 --- a/start.sh +++ b/start.sh @@ -92,7 +92,6 @@ crudini --set "/run/gitea/app.ini" mailer USER "${MAIL_SMTP_USERNAME}" crudini --set "/run/gitea/app.ini" mailer PASSWD "${MAIL_SMTP_PASSWORD}" crudini --set "/run/gitea/app.ini" mailer FROM "${MAIL_FROM}" crudini --set "/run/gitea/app.ini" mailer SKIP_VERIFY "true" -crudini --set "/run/gitea/app.ini" security SECRET_KEY $(pwgen -1 -s) crudini --set "/run/gitea/app.ini" security INSTALL_LOCK "true" crudini --set "/run/gitea/app.ini" log MODE "console" crudini --set "/run/gitea/app.ini" log ROOT_PATH "/run/gitea"