mirror of
https://github.com/YunoHost-Apps/pleroma_ynh.git
synced 2024-09-03 20:15:59 +02:00
switch source from release file to repository master
This commit is contained in:
parent
bc04b14da2
commit
9fbdc4ceac
3 changed files with 10 additions and 8 deletions
|
@ -1,6 +0,0 @@
|
||||||
SOURCE_URL=https://git.pleroma.social/pleroma/pleroma/-/archive/master/pleroma-master.tar.gz
|
|
||||||
SOURCE_SUM=6fb0cd549c8d31a3cddc2244f05b6e01d1927b27e101f7a09b031370d84433a1
|
|
||||||
SOURCE_SUM_PRG=sha256sum
|
|
||||||
SOURCE_FORMAT=tar.gz
|
|
||||||
SOURCE_IN_SUBDIR=true
|
|
||||||
SOURCE_FILENAME=
|
|
|
@ -174,7 +174,10 @@ ynh_print_info "Setting up source files ..."
|
||||||
|
|
||||||
ynh_app_setting_set $app final_path $final_path
|
ynh_app_setting_set $app final_path $final_path
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source "$final_path/$app"
|
git clone https://git.pleroma.social/pleroma/pleroma "$final_path/$app"
|
||||||
|
pushd $final_path/$app
|
||||||
|
git checkout -b master
|
||||||
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
|
|
@ -109,7 +109,12 @@ path_url=$(ynh_normalize_url_path $path_url)
|
||||||
ynh_print_info "Upgrading source files..."
|
ynh_print_info "Upgrading source files..."
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source "$final_path/$app"
|
git clone --quiet $git_repository "$final_path/upgrade"
|
||||||
|
pushd "$final_path/upgrade"
|
||||||
|
git checkout -b master
|
||||||
|
popd
|
||||||
|
cp -a "$final_path/upgrade/." "$final_path/$app/."
|
||||||
|
rm -r "$final_path/upgrade"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue