Skip to content

Commit

Permalink
Merge pull request #159 from RecursionSpace/dev-release
Browse files Browse the repository at this point in the history
Dev release
  • Loading branch information
justinmerrell authored Jan 25, 2023
2 parents eab0118 + 823e86e commit f36bdb2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/CI_Pylint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: CI | Pylint

on: [push]
on:
push:
branches:
- "**"
- "!master-ci"
- "!dev-release"
- "!release"

workflow_dispatch:

jobs:
lint:
Expand Down
6 changes: 3 additions & 3 deletions installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Help()
# ---------------------------------------------------------------------------- #
# Defaults #
# ---------------------------------------------------------------------------- #
DEBUG=flase # -d
DEBUG=false # -d
REPO='https://github.com/RecursionSpace/OpenPod'

# ---------------------------------------------------------------------------- #
Expand All @@ -51,11 +51,11 @@ while getopts ":hbdu" flags; do
esac
done

if [ $DEBUG ]; then
if [ "$DEBUG" = true ]; then
BRANCH='dev-release'
URL='dev.recursion.space'
API_URL='dev.api.recursion.space'
elif [ ! $DEBUG ]; then
else
BRANCH='release'
URL='recursion.space'
API_URL='api.recursion.space'
Expand Down
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 f36bdb2

Please sign in to comment.