diff --git a/.github/workflows/updater.yml b/.github/workflows/updater.yml index 392e0ec..d18a9e5 100644 --- a/.github/workflows/updater.yml +++ b/.github/workflows/updater.yml @@ -51,4 +51,5 @@ jobs: title: 'Upgrade to version ${{ env.VERSION }}' body: | Upgrade to v${{ env.VERSION }} + [See upstream release page](https://github.com/home-assistant/core/releases/tag/${{ env.VERSION }}) draft: false diff --git a/README.md b/README.md index a085f1b..c7b0a1a 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Open source home automation that puts local control and privacy first. Powered b - Home Energy Management." -**Shipped version:** 2023.10.1~ynh1 +**Shipped version:** 2023.10.2~ynh1 **Demo:** https://demo.home-assistant.io diff --git a/README_fr.md b/README_fr.md index 5b10aa5..6e4a2a3 100644 --- a/README_fr.md +++ b/README_fr.md @@ -29,7 +29,7 @@ Open source home automation that puts local control and privacy first. Powered b - Home Energy Management." -**Version incluse :** 2023.10.1~ynh1 +**Version incluse :** 2023.10.2~ynh1 **Démo :** https://demo.home-assistant.io diff --git a/manifest.toml b/manifest.toml index ca0b222..962e88b 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Home Assistant" description.en = "Home automation platform" description.fr = "Plateforme domotique" -version = "2023.10.1~ynh1" +version = "2023.10.2~ynh1" maintainers = ["ewilly"] diff --git a/scripts/_common.sh b/scripts/_common.sh index 7d7a910..addbb5c 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= # Release to install -app_version=2023.10.1 +app_version=2023.10.2 # Requirements py_required_version=3.11.6 @@ -147,7 +147,16 @@ myynh_install_homeassistant () { myynh_upgrade_venv_directory () { # 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 ynh_exec_as $app $py_app_version -m venv --upgrade "$install_dir"