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

Merge pull request #146 from YunoHost-Apps/testing

Upgrade to v1. 10.5
This commit is contained in:
Mateusz 2024-03-14 00:50:43 +01:00 committed by GitHub
commit f4d1c74821
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 4 deletions

2
conf/sql/v1.10.5.sql Normal file
View 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/');

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.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

View file

@ -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