1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/castopod_ynh.git synced 2024-09-03 18:16:14 +02:00

Upgrade to 1.8.2

This commit is contained in:
orhtej2 2024-01-19 23:18:15 +01:00
parent 6e41d0e238
commit 8a1ff6b40d
3 changed files with 9 additions and 3 deletions

2
conf/sql/v1.8.0.sql Normal file
View file

@ -0,0 +1,2 @@
INSERT INTO `cp_platforms` (`slug`, `type`, `label`, `home_url`, `submit_url`) VALUES
('matrix', 'social', 'Matrix', 'https://matrix.org/', 'https://matrix.org/try-matrix/');

View file

@ -5,7 +5,7 @@ name = "Castopod"
description.en = "Hosting platform made for podcasters"
description.fr = "Plateforme d'hébergement conçue pour les podcasteurs"
version = "1.7.4~ynh1"
version = "1.8.2~ynh1"
maintainers = ["orhtej2"]
@ -42,8 +42,8 @@ ram.runtime = "50M"
[resources.sources]
[resources.sources.main]
url = "https://code.castopod.org/adaures/castopod/uploads/6bab4d6e3ce5f8362b964786528a5b1b/castopod-1.7.4.zip"
sha256 = "808800d4e5bf40ac9e1fb3a5c243d2c3575ceb54ef78ce540c895382288c842c"
url = "https://code.castopod.org/adaures/castopod/uploads/c2a4216026fd78c02d5ec53ab7738085/castopod-1.8.2.zip"
sha256 = "e0add6f37ae6cd9ef8b5c519f8c886fb64e90d36f6781a08b315acfbc6ebfd7e"
in_subdir = true
[resources.system_user]

View file

@ -128,6 +128,10 @@ if ynh_compare_current_package_version --comparison lt --version "1.7.3~ynh1"; t
# cf https://code.castopod.org/adaures/castopod/-/releases/v1.7.3
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < "../conf/sql/v1.7.3.sql"
fi
if ynh_compare_current_package_version --comparison lt --version "1.8.2~ynh1"; then
# cf https://code.castopod.org/adaures/castopod/-/releases/v1.7.3
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < "../conf/sql/v1.8.0.sql"
fi
#=================================================
# END OF SCRIPT