1
0
mirror of https://github.com/CMiksche/gitea-auto-update synced 2025-12-10 07:57:23 +01:00

feat: release new version

Release new version with fix for SELinux
This commit is contained in:
Christoph Miksche
2021-06-15 21:13:45 +02:00
parent 26efce05b5
commit 52855058fc
4 changed files with 5 additions and 5 deletions

View File

@@ -15,4 +15,4 @@ pylint = "*"
pre-commit = "*" pre-commit = "*"
[requires] [requires]
python_version = "3.7" python_version = "3"

View File

@@ -80,8 +80,7 @@ The following steps are automatically executed via pre-commit hooks.
## Contributors ## Contributors
- [@Eideen](https://github.com/Eideen) See https://github.com/CMiksche/gitea-auto-update/graphs/contributors
- [@iwalton3](https://github.com/iwalton3)
Thank you for your support! Thank you for your support!

View File

@@ -74,7 +74,8 @@ class Download:
# extracting download file # extracting download file
cmd = "xz -d " + self.tmp_xz cmd = "xz -d " + self.tmp_xz
os.system(cmd) 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 \ cmd = 'cp ' + self.tmp_dir + 'gitea-' + self.github_version \
+ '-' + self.gt_system + ' ' + self.gt_file + '-' + self.gt_system + ' ' + self.gt_file
os.system(cmd) os.system(cmd)

View File

@@ -13,7 +13,7 @@ with open("README.md", "r") as fh:
setuptools.setup( setuptools.setup(
name='gitea_auto_update', name='gitea_auto_update',
version='2.0.8', version='2.0.9',
description='A script which can update gitea to a new version.', description='A script which can update gitea to a new version.',
long_description=LONG_DESCRIPTION, long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown", long_description_content_type="text/markdown",