Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master-ci' into dev-release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jan 25, 2023
2 parents d013b49 + 43a4537 commit 823e86e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openpod/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ def update_pod():
zip_ref.extractall()

# Copy the files to the root directory.
os.makedirs(f"/opt/OpenPod/versions/{latest_version['hash']}/", exist_ok=True)
os.makedirs(f"/opt/OpenPod/versions/{latest_version['version']}/", exist_ok=True)

shutil.copytree(
f"OpenPod-{latest_version['hash']}/openpod",
f"/opt/OpenPod/versions/{latest_version['hash']}",
f"/opt/OpenPod/versions/{latest_version['version']}",
dirs_exist_ok=True
)

Expand Down

0 comments on commit 823e86e

Please sign in to comment.