1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00

Merge pull request #260 from YunoHost-Apps/master-promotion

Upgrade master from testing
This commit is contained in:
ewilly 2023-10-12 21:31:08 +02:00 committed by GitHub
commit c7f868d0c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 5 deletions

View file

@ -51,4 +51,5 @@ jobs:
title: 'Upgrade to version ${{ env.VERSION }}' title: 'Upgrade to version ${{ env.VERSION }}'
body: | body: |
Upgrade to v${{ env.VERSION }} Upgrade to v${{ env.VERSION }}
[See upstream release page](https://github.com/home-assistant/core/releases/tag/${{ env.VERSION }})
draft: false draft: false

View file

@ -29,7 +29,7 @@ Open source home automation that puts local control and privacy first. Powered b
- Home Energy Management." - Home Energy Management."
**Shipped version:** 2023.10.1~ynh1 **Shipped version:** 2023.10.2~ynh1
**Demo:** https://demo.home-assistant.io **Demo:** https://demo.home-assistant.io

View file

@ -29,7 +29,7 @@ Open source home automation that puts local control and privacy first. Powered b
- Home Energy Management." - Home Energy Management."
**Version incluse :** 2023.10.1~ynh1 **Version incluse :** 2023.10.2~ynh1
**Démo :** https://demo.home-assistant.io **Démo :** https://demo.home-assistant.io

View file

@ -5,7 +5,7 @@ name = "Home Assistant"
description.en = "Home automation platform" description.en = "Home automation platform"
description.fr = "Plateforme domotique" description.fr = "Plateforme domotique"
version = "2023.10.1~ynh1" version = "2023.10.2~ynh1"
maintainers = ["ewilly"] maintainers = ["ewilly"]

View file

@ -5,7 +5,7 @@
#================================================= #=================================================
# Release to install # Release to install
app_version=2023.10.1 app_version=2023.10.2
# Requirements # Requirements
py_required_version=3.11.6 py_required_version=3.11.6
@ -147,7 +147,16 @@ myynh_install_homeassistant () {
myynh_upgrade_venv_directory () { myynh_upgrade_venv_directory () {
# Remove old python links before recreating them # Remove old python links before recreating them
find "$install_dir/bin/" -type l -name 'python*' -exec bash -c 'rm -f "$1"' _ {} \; find "$install_dir/bin/" -type l -name 'python*' \
-exec bash -c 'rm --force "$1"' _ {} \;
# Remove old python directories before recreating them
find "$install_dir/lib/" -mindepth 1 -maxdepth 1 -type d -name "python*" \
-not -path "*/python${py_required_version%.*}" \
-exec bash -c 'rm --force --recursive "$1"' _ {} \;
find "$install_dir/include/site/" -mindepth 1 -maxdepth 1 -type d -name "python*" \
-not -path "*/python${py_required_version%.*}" \
-exec bash -c 'rm --force --recursive "$1"' _ {} \;
# Upgrade the virtual environment directory # Upgrade the virtual environment directory
ynh_exec_as $app $py_app_version -m venv --upgrade "$install_dir" ynh_exec_as $app $py_app_version -m venv --upgrade "$install_dir"