diff --git a/README.md b/README.md index 226215c..5a3a2eb 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,21 @@ -# Gitea Remote Updater +# Gitea Auto Updater Script for a automatic update of gitea. Should be run locally on the gitea server. Has options for updating via new binary file or build from source. ## Procedure -* Get Gitea Version via Gitea API +* Get Gitea Version from the Gitea CLI and if that fails from the Gitea API * Get latest Relase via GitHub API * Check if there is a newer Version -* If true - * Download new version, overwrite old version +* If there is a newer Version: + * If binary file was selected: + * Download new version + * Check sha256 + * Overwrite old version + * If build from source is active: + * Checkout new release branch + * Build binary + * Overwrite old binary + ## General Information License: GNU General Public License diff --git a/functions.py b/functions.py index b06e06a..ee68d05 100644 --- a/functions.py +++ b/functions.py @@ -1,5 +1,5 @@ ''' -Gitea Remote Updater +Gitea Auto Updater Copyright 2018, 2019 The Gitea-Auto-Update Authors All rights reserved. diff --git a/settings.py b/settings.py index 41704dc..03d1913 100644 --- a/settings.py +++ b/settings.py @@ -1,5 +1,5 @@ ''' -Gitea Remote Updater +Gitea Auto Updater Copyright 2018, 2019 The Gitea-Auto-Update Authors All rights reserved. diff --git a/tests.py b/tests.py index 11f01fc..7548757 100644 --- a/tests.py +++ b/tests.py @@ -1,5 +1,5 @@ ''' -Gitea Remote Updater +Gitea Auto Updater Copyright 2019 The Gitea-Auto-Update Authors All rights reserved. diff --git a/updater.py b/updater.py index 8670ba0..0df9c1d 100644 --- a/updater.py +++ b/updater.py @@ -1,5 +1,5 @@ ''' -Gitea Remote Updater +Gitea Auto Updater Copyright 2018, 2019 The Gitea-Auto-Update Authors All rights reserved.