mirror of
https://github.com/YunoHost-Apps/castopod_ynh.git
synced 2024-09-03 18:16:14 +02:00
commit
f4d1c74821
3 changed files with 10 additions and 4 deletions
2
conf/sql/v1.10.5.sql
Normal file
2
conf/sql/v1.10.5.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
INSERT INTO `cp_platforms` (`slug`, `type`, `label`, `home_url`, `submit_url`) VALUES
|
||||
('bluesky', 'social', 'Bluesky', 'https://bsky.app/', 'https://bsky.app/');
|
|
@ -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.10.4~ynh1"
|
||||
version = "1.10.5~ynh1"
|
||||
|
||||
maintainers = ["orhtej2"]
|
||||
|
||||
|
@ -42,8 +42,8 @@ ram.runtime = "50M"
|
|||
[resources.sources]
|
||||
|
||||
[resources.sources.main]
|
||||
url = "https://code.castopod.org/adaures/castopod/uploads/c620846036e22029527407be58f29b8b/castopod-1.10.4.zip"
|
||||
sha256 = "435c8886fe87639ca15b03bc168f519988a9cae60830f77f75d43a088db20ad5"
|
||||
url = "https://code.castopod.org/adaures/castopod/uploads/194cc599dfcebbdc68e219c00dd0b6ac/castopod-1.10.5.zip"
|
||||
sha256 = "8a716677ecc10ce4f8be9f58cd146afed0b90a795322748b917cd3b31d9ee542"
|
||||
autoupdate.strategy = "latest_gitlab_release"
|
||||
autoupdate.asset = "Castopod Package \\(zip\\)"
|
||||
in_subdir = true
|
||||
|
|
|
@ -129,9 +129,13 @@ if ynh_compare_current_package_version --comparison lt --version "1.7.3~ynh1"; t
|
|||
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
|
||||
# cf https://code.castopod.org/adaures/castopod/-/releases/v1.8.2
|
||||
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < "../conf/sql/v1.8.0.sql"
|
||||
fi
|
||||
if ynh_compare_current_package_version --comparison lt --version "1.10.5~ynh1"; then
|
||||
# cf https://code.castopod.org/adaures/castopod/-/releases/v1.10.5
|
||||
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < "../conf/sql/v1.10.5.sql"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
Loading…
Add table
Reference in a new issue