mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-21 22:48:16 +01:00
Merge pull request #51 from avollkopf/development
fix restore backup issue
This commit is contained in:
commit
58175bf951
3 changed files with 3 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
||||||
__version__ = "4.0.5"
|
__version__ = "4.0.6"
|
||||||
__codename__ = "Spring Break"
|
__codename__ = "Spring Break"
|
||||||
|
|
||||||
|
|
|
@ -126,7 +126,7 @@ class ConfigFolder:
|
||||||
pathlib.Path(os.path.join(self._rawPath, 'recipes')).mkdir(parents=True, exist_ok=True)
|
pathlib.Path(os.path.join(self._rawPath, 'recipes')).mkdir(parents=True, exist_ok=True)
|
||||||
pathlib.Path(os.path.join(self._rawPath, 'upload')).mkdir(parents=True, exist_ok=True)
|
pathlib.Path(os.path.join(self._rawPath, 'upload')).mkdir(parents=True, exist_ok=True)
|
||||||
|
|
||||||
def recursive_chown(path, owner, group):
|
def recursive_chown(self, path, owner, group):
|
||||||
for dirpath, dirnames, filenames in os.walk(path):
|
for dirpath, dirnames, filenames in os.walk(path):
|
||||||
shutil.chown(dirpath, owner, group)
|
shutil.chown(dirpath, owner, group)
|
||||||
for filename in filenames:
|
for filename in filenames:
|
||||||
|
|
|
@ -47,7 +47,7 @@ def release():
|
||||||
match = re.search('.*\"(.*)\"', reader.readline())
|
match = re.search('.*\"(.*)\"', reader.readline())
|
||||||
version = match.group(1)
|
version = match.group(1)
|
||||||
|
|
||||||
path = "dist/cbpi-{}.tar.gz".format(version)
|
path = "dist/cbpi4-{}.tar.gz".format(version)
|
||||||
print("Uploading File {} ".format(path))
|
print("Uploading File {} ".format(path))
|
||||||
subprocess.run(["twine", "upload", path])
|
subprocess.run(["twine", "upload", path])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue