Skip to content

Commit f36bdb2

Browse files
Merge pull request #159 from RecursionSpace/dev-release
Dev release
2 parents eab0118 + 823e86e commit f36bdb2

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

.github/workflows/CI_Pylint.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: CI | Pylint
22

3-
on: [push]
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
- "!master-ci"
8+
- "!dev-release"
9+
- "!release"
10+
11+
workflow_dispatch:
412

513
jobs:
614
lint:

installer.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Help()
2929
# ---------------------------------------------------------------------------- #
3030
# Defaults #
3131
# ---------------------------------------------------------------------------- #
32-
DEBUG=flase # -d
32+
DEBUG=false # -d
3333
REPO='https://github.com/RecursionSpace/OpenPod'
3434

3535
# ---------------------------------------------------------------------------- #
@@ -51,11 +51,11 @@ while getopts ":hbdu" flags; do
5151
esac
5252
done
5353

54-
if [ $DEBUG ]; then
54+
if [ "$DEBUG" = true ]; then
5555
BRANCH='dev-release'
5656
URL='dev.recursion.space'
5757
API_URL='dev.api.recursion.space'
58-
elif [ ! $DEBUG ]; then
58+
else
5959
BRANCH='release'
6060
URL='recursion.space'
6161
API_URL='api.recursion.space'

openpod/updater.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ def update_pod():
4444
zip_ref.extractall()
4545

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

4949
shutil.copytree(
5050
f"OpenPod-{latest_version['hash']}/openpod",
51-
f"/opt/OpenPod/versions/{latest_version['hash']}",
51+
f"/opt/OpenPod/versions/{latest_version['version']}",
5252
dirs_exist_ok=True
5353
)
5454

0 commit comments

Comments
 (0)