From 52855058fc2add803efa4ca12b3a5afd8ca42c40 Mon Sep 17 00:00:00 2001 From: Christoph Miksche Date: Tue, 15 Jun 2021 21:13:45 +0200 Subject: [PATCH] feat: release new version Release new version with fix for SELinux --- Pipfile | 2 +- README.md | 3 +-- gitea_auto_update/lib/download.py | 3 ++- setup.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Pipfile b/Pipfile index 6529768..768d005 100644 --- a/Pipfile +++ b/Pipfile @@ -15,4 +15,4 @@ pylint = "*" pre-commit = "*" [requires] -python_version = "3.7" +python_version = "3" diff --git a/README.md b/README.md index 39e3a97..204ef9e 100644 --- a/README.md +++ b/README.md @@ -80,8 +80,7 @@ The following steps are automatically executed via pre-commit hooks. ## Contributors - - [@Eideen](https://github.com/Eideen) - - [@iwalton3](https://github.com/iwalton3) +See https://github.com/CMiksche/gitea-auto-update/graphs/contributors Thank you for your support! diff --git a/gitea_auto_update/lib/download.py b/gitea_auto_update/lib/download.py index e72ef85..7ab0d1a 100644 --- a/gitea_auto_update/lib/download.py +++ b/gitea_auto_update/lib/download.py @@ -74,7 +74,8 @@ class Download: # extracting download file cmd = "xz -d " + self.tmp_xz os.system(cmd) - # copying temp file to gtfile location. Copying preserves SELinux permissions + # copying temp file to gtfile location. + # Copying preserves SELinux permissions, see issue #22 cmd = 'cp ' + self.tmp_dir + 'gitea-' + self.github_version \ + '-' + self.gt_system + ' ' + self.gt_file os.system(cmd) diff --git a/setup.py b/setup.py index 493d003..139fd22 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ with open("README.md", "r") as fh: setuptools.setup( name='gitea_auto_update', - version='2.0.8', + version='2.0.9', description='A script which can update gitea to a new version.', long_description=LONG_DESCRIPTION, long_description_content_type="text/markdown",