1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/immich_ynh.git synced 2024-09-03 20:36:24 +02:00

Merge branch 'testing' of github.com:YunoHost-Apps/immich_ynh into testing

This commit is contained in:
Sylvain 2024-08-27 21:43:55 +02:00
commit 8acc1928b1
9 changed files with 14 additions and 14 deletions

View file

@ -8,15 +8,15 @@
version_current=$(cat manifest.toml | tomlq -j '.version') version_current=$(cat manifest.toml | tomlq -j '.version')
version_app=$(cat manifest.toml | tomlq -j '.version|split("~ynh")[0]') version_app=$(cat manifest.toml | tomlq -j '.version|split("~ynh")[0]')
version_ynh=$(cat manifest.toml | tomlq -j '.version|split("~ynh")[1]') version_ynh=$(cat manifest.toml | tomlq -j '.version|split("~ynh")[1]')
version_next="$version_app~ynh($version_ynh+1)" version_next="$version_app~ynh$(($version_ynh+1))"
repo=$(cat manifest.toml | tomlq -j '.upstream.code|split("https://github.com/")[1]') repo=$(cat manifest.toml | tomlq -j '.upstream.code|split("https://github.com/")[1]')
amd64_url=$(cat manifest.toml | tomlq -j '.resources.sources.ffmpeg-static.amd64.url') amd64_url=$(cat manifest.toml | tomlq -j '.resources.sources."ffmpeg-static".amd64.url')
amd64_sha_current=$(cat manifest.toml | tomlq -j '.resources.sources.ffmpeg-static.amd64.sha256') amd64_sha_current=$(cat manifest.toml | tomlq -j '.resources.sources."ffmpeg-static".amd64.sha256')
amd64_sha_last=$(curl --silent "$amd64_url" | sha256sum) amd64_sha_last=$(curl --silent "$amd64_url" | sha256sum)
arm64_url=$(cat manifest.toml | tomlq -j '.resources.sources.ffmpeg-static.arm64.url') arm64_url=$(cat manifest.toml | tomlq -j '.resources.sources."ffmpeg-static".arm64.url')
arm64_sha_current=$(cat manifest.toml | tomlq -j '.resources.sources.ffmpeg-static.arm64.sha256') arm64_sha_current=$(cat manifest.toml | tomlq -j '.resources.sources."ffmpeg-static".arm64.sha256')
arm64_sha_last=$(curl --silent "$arm64_url" | sha256sum) arm64_sha_last=$(curl --silent "$arm64_url" | sha256sum)
# Setting up the environment variables # Setting up the environment variables
@ -28,7 +28,7 @@ echo "REPO=$repo" >> $GITHUB_ENV
echo "PROCEED=false" >> $GITHUB_ENV echo "PROCEED=false" >> $GITHUB_ENV
# Proceed only if the retrieved version is greater than the current one # Proceed only if the retrieved version is greater than the current one
if [ "$amd64_sha_current" == "$amd64_sha_last" ] And [ "$arm64_sha_current" == "$amd64_sha_last" ] if [ "$amd64_sha_current" == "$amd64_sha_last" ] && [ "$arm64_sha_current" == "$amd64_sha_last" ]
then then
echo "::warning ::No new version available" echo "::warning ::No new version available"
exit 0 exit 0

View file

@ -24,7 +24,7 @@ Self-hosted photo and video management solution.
- Easy-to-use and friendly interface ; - Easy-to-use and friendly interface ;
**Shipped version:** 1.112.1~ynh1 **Shipped version:** 1.112.1~ynh2
## Screenshots ## Screenshots

View file

@ -24,7 +24,7 @@ Self-hosted photo and video management solution.
- Easy-to-use and friendly interface ; - Easy-to-use and friendly interface ;
**Versión actual:** 1.112.1~ynh1 **Versión actual:** 1.112.1~ynh2
## Capturas ## Capturas

View file

@ -24,7 +24,7 @@ Self-hosted photo and video management solution.
- Easy-to-use and friendly interface ; - Easy-to-use and friendly interface ;
**Paketatutako bertsioa:** 1.112.1~ynh1 **Paketatutako bertsioa:** 1.112.1~ynh2
## Pantaila-argazkiak ## Pantaila-argazkiak

View file

@ -24,7 +24,7 @@ Solution d'autohébergement pour a gestion de vos photos et vidéos.
- Interface conviviale et egronomique ; - Interface conviviale et egronomique ;
**Version incluse:** 1.112.1~ynh1 **Version incluse:** 1.112.1~ynh2
## Captures décran ## Captures décran

View file

@ -24,7 +24,7 @@ Self-hosted photo and video management solution.
- Easy-to-use and friendly interface ; - Easy-to-use and friendly interface ;
**Versión proporcionada:** 1.112.1~ynh1 **Versión proporcionada:** 1.112.1~ynh2
## Capturas de pantalla ## Capturas de pantalla

View file

@ -24,7 +24,7 @@ Self-hosted photo and video management solution.
- Easy-to-use and friendly interface ; - Easy-to-use and friendly interface ;
**Versi terkirim:** 1.112.1~ynh1 **Versi terkirim:** 1.112.1~ynh2
## Tangkapan Layar ## Tangkapan Layar

View file

@ -24,7 +24,7 @@ Self-hosted photo and video management solution.
- Easy-to-use and friendly interface ; - Easy-to-use and friendly interface ;
**Поставляемая версия:** 1.112.1~ynh1 **Поставляемая версия:** 1.112.1~ynh2
## Снимки экрана ## Снимки экрана

View file

@ -24,7 +24,7 @@ Self-hosted photo and video management solution.
- Easy-to-use and friendly interface ; - Easy-to-use and friendly interface ;
**分发版本:** 1.112.1~ynh1 **分发版本:** 1.112.1~ynh2
## 截图 ## 截图