diff --git a/conf/sql/v1.10.5.sql b/conf/sql/v1.10.5.sql new file mode 100644 index 0000000..135c435 --- /dev/null +++ b/conf/sql/v1.10.5.sql @@ -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/'); diff --git a/manifest.toml b/manifest.toml index 0b1894d..e683463 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index f68d25d..7e18af8 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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