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 #128 from YunoHost-Apps/master

Unbreak testing branch
This commit is contained in:
Mateusz 2023-12-26 00:46:12 +01:00 committed by GitHub
commit 8864b261c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 6 deletions

View file

@ -32,7 +32,7 @@ Castopod is easy to install and was built on top of CodeIgniter4, a powerful PHP
- Multi-tenant: host as many podcasts as you want
- Multi-user: add contributors and set roles
**Shipped version:** 1.7.2~ynh1
**Shipped version:** 1.7.3~ynh1
**Demo:** https://podcast.podlibre.org/@podlibre_fr

View file

@ -31,7 +31,7 @@ Castopod est une plate-forme d'hébergement gratuite et open source conçue pour
- Multi-locataire : hébergez autant de podcasts que vous le souhaitez
- Multi-utilisateur : ajouter des contributeurs et définir des rôles
**Version incluse :** 1.7.2~ynh1
**Version incluse :** 1.7.3~ynh1
**Démo :** https://podcast.podlibre.org/@podlibre_fr

3
conf/sql/v1.7.3.sql Normal file
View file

@ -0,0 +1,3 @@
INSERT INTO `cp_platforms` (`slug`, `type`, `label`, `home_url`, `submit_url`) VALUES
('threads', 'social', 'Threads', 'https://www.threads.net/', 'https://www.threads.net/login'),
('youtube-music', 'podcasting', 'YouTube Music', 'https://www.youtube.com/creators/podcasts/', 'https://studio.youtube.com/channel/content/podcasts');

View file

@ -5,9 +5,9 @@ name = "Castopod"
description.en = "Hosting platform made for podcasters"
description.fr = "Plateforme d'hébergement conçue pour les podcasteurs"
version = "1.7.2~ynh1"
version = "1.7.3~ynh1"
maintainers = ["eric_G"]
maintainers = ["orhtej2"]
[upstream]
license = "GPL-3.0-only"
@ -42,8 +42,8 @@ ram.runtime = "50M"
[resources.sources]
[resources.sources.main]
url = "https://code.castopod.org/adaures/castopod/uploads/90fa3ed05c3cd11c99411da6f41c4960/castopod-1.7.2.zip"
sha256 = "cfa886e3f70a54bdd94a99d39f41f86f04ecfafacfae29de674f384dd183de05"
url = "https://code.castopod.org/adaures/castopod/uploads/0e6380add18cd9e976d009bdd596a080/castopod-1.7.3.zip"
sha256 = "596340efa09b48f82864cb8f9fd94627b8927d3c4c9833a249fc4dd0f1f48d6c"
in_subdir = true
[resources.system_user]

View file

@ -124,6 +124,10 @@ if ynh_compare_current_package_version --comparison le --version "1.6.5~ynh1"; t
# cf https://code.castopod.org/adaures/castopod/-/releases/v1.6.1
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < "../conf/sql/v1.6.1.sql"
fi
if ynh_compare_current_package_version --comparison le --version "1.7.3~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.7.3.sql"
fi
#=================================================
# END OF SCRIPT