diff --git a/check_process b/check_process index c2b494b..613ef22 100644 --- a/check_process +++ b/check_process @@ -11,7 +11,7 @@ setup_public=1 upgrade=1 # 12.109.2~ynh1 - # upgrade=1 from_commit= + upgrade=1 from_commit=d0b5378eb020818020114d647a56158caed1600e backup_restore=1 multi_instance=1 change_url=0 @@ -19,6 +19,6 @@ Email= Notification= ;;; Upgrade options - ; commit=CommitHash - name=Name and date of the commit. - manifest_arg=domain=DOMAIN&path=PATH&is_public=1&language=fr&admin=USER&password=pass&port=666& + ; commit=d0b5378eb020818020114d647a56158caed1600e + name=12.109.2~ynh1 + manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=666& diff --git a/conf/app.src b/conf/app.src deleted file mode 100644 index 94e519c..0000000 --- a/conf/app.src +++ /dev/null @@ -1,5 +0,0 @@ -SOURCE_URL=https://github.com/misskey-dev/misskey/archive/refs/tags/13.2.2.tar.gz -SOURCE_SUM=C7E936CE928FFB83CD2EC8FAB95173658915833BE65AB450E4BBEEB3CAC7BD13 -SOURCE_SUM_PRG=sha256sum -SOURCE_FORMAT=tar.gz -SOURCE_IN_SUBDIR=true diff --git a/scripts/_common.sh b/scripts/_common.sh index 5096fe6..9e79c5f 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -6,6 +6,8 @@ NODEJS_VERSION="18.13.0" +COMMIT="857042c9d39d1b799432d2c74cb6d0a7fe6acf64" + # dependencies used by the app pkg_dependencies="ffmpeg postgresql build-essential" diff --git a/scripts/install b/scripts/install index d330c55..55a6096 100755 --- a/scripts/install +++ b/scripts/install @@ -102,7 +102,7 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path git clone https://github.com/misskey-dev/misskey.git "$final_path" --quiet pushd "$final_path" - git checkout master + git checkout $COMMIT git submodule update --init popd diff --git a/scripts/upgrade b/scripts/upgrade index 3e907d1..645942d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -108,7 +108,7 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" --keep=".config/default.yml" pushd "$final_path" - git checkout master + git checkout $COMMIT git pull --quiet git submodule update --init --quiet popd