From 93a560680e7a7feb9e5d908f1c0088c18a9ef799 Mon Sep 17 00:00:00 2001 From: Nathan Gardiner Date: Sun, 28 May 2023 14:38:37 +1000 Subject: [PATCH] Fix issue with workflow for creating docker + pypi release packages --- .github/workflows/docker+pypi.yml | 11 +------- CHANGELOG.md | 43 +++++++++++++++++-------------- README.md | 4 +-- setup.py | 1 + 4 files changed, 28 insertions(+), 31 deletions(-) diff --git a/.github/workflows/docker+pypi.yml b/.github/workflows/docker+pypi.yml index c4150133..a49ab3de 100644 --- a/.github/workflows/docker+pypi.yml +++ b/.github/workflows/docker+pypi.yml @@ -258,20 +258,11 @@ jobs: (github.event_name == 'workflow_dispatch' && github.event.inputs.trigger_docker_release == 'yes') steps: - - name: Check out Repository uses: actions/checkout@v3 with: path: ./docker-release - - name: Branch name - id: branch_name - shell: bash - run: | - echo ::set-output name=SOURCE_NAME::${GITHUB_REF#refs/*/} - echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/} - echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/} - - name: Set up QEMU uses: docker/setup-qemu-action@v1 @@ -295,7 +286,7 @@ jobs: context: contrib/docker platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 push: true - tags: twcmanager/twcmanager:${{ steps.branch_name.outputs.SOURCE_TAG }} + tags: twcmanager/twcmanager:${{ github.ref_name }} build-args: | http_proxy=http://192.0.2.1:3128 https_proxy=http://192.0.2.1:3128 diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f04c6c2..7cef065a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,32 +2,37 @@ This document logs the changes per release of TWCManager. -## v1.3.0 - Latest Development version +## v1.3.1 - Latest Development version - * Bugfixes +## v1.3.0 - 2023-05-28 + +* Bugfixes * (@dtiefnig) - Fix issue with logic around detecting instances of multi-phase system incompatibility * (@dtiefnig) - Fix issue with zero-byte VINs causing infinite VIN fetch retries * (@MikeBishop) - Fix rounding in calculation of current offer when calculating delta to new offer to improve accuracy * (@ngardiner) - Adjust voltage / phase detection to handle combinations of 1/2/3 phase systems, as long as all slave TWCs have the same number of active phases * (@ccutrer) - Fix openhab integration to properly parse floats * (@ngardiner) - Detect issues with serial connection (RS485) and automatically reconnect - * (@hopfi2k) - Major "Modern Theme" update. Switched to Bootstrap 5.02, bug fixes, now fully responsive - * (@ngardiner) - Add Home Location view and modification controls to settings page - * (@ngardiner) - Add MQTT EMS module (currently pre-release for testing) - * (@dtiefnig) - Add switch to output plain text Console output (turn off color) - * (@dtiefnig) - Unify single and multi-car charge at home behaviour - * (@dtiefnig) - Add Modbus TCP support for SolarEdge EMS module - * (@dtiefnig / @MikeBishop) - Update Tesla API charging states - * (@dtiefnig) - Reference entrypoint script from within Docker container to remove dependency on external source tree - * (@ngardiner) - Add Current Policy as status value (to be published to HASS / MQTT) - * (@MikeBishop) - Fix API interactions impacted by Tesla's vehicle_data endpoint changes - * (@MikeBishop) - Implement improved VIN Check routine - * (@RitchieB2B) - Fix MQTT EMS module (missing brokerPort) - * (@RitchieB2B) - Fix large steps in ChargeNow duration in the web interface - * (@RitchieB2B) - Add option to leverage Tesla API for lower amp control, otherwise leverage TWC - * (@RitchieB2B) - Add DSM Reader EMS Module - * (@cods4) - Update to documentation - * (@mattiasclaesson) - Remove unnecessary kWh suffix from web UI + * (@RitchieB2B) - Fix MQTT EMS module (missing brokerPort) + * (@RitchieB2B) - Fix large steps in ChargeNow duration in the web interface + * (@mattiasclaesson) - Remove unnecessary kWh suffix from web UI + +* Features + + * (@hopfi2k) - Major "Modern Theme" update. Switched to Bootstrap 5.02, bug fixes, now fully responsive + * (@ngardiner) - Add Home Location view and modification controls to settings page + * (@ngardiner) - Add MQTT EMS module (currently pre-release for testing) + * (@dtiefnig) - Add switch to output plain text Console output (turn off color) + * (@dtiefnig) - Unify single and multi-car charge at home behaviour + * (@dtiefnig) - Add Modbus TCP support for SolarEdge EMS module + * (@dtiefnig / @MikeBishop) - Update Tesla API charging states + * (@dtiefnig) - Reference entrypoint script from within Docker container to remove dependency on external source tree + * (@ngardiner) - Add Current Policy as status value (to be published to HASS / MQTT) + * (@MikeBishop) - Fix API interactions impacted by Tesla's vehicle_data endpoint changes + * (@MikeBishop) - Implement improved VIN Check routine + * (@RitchieB2B) - Add option to leverage Tesla API for lower amp control, otherwise leverage TWC + * (@RitchieB2B) - Add DSM Reader EMS Module + * (@cods4) - Update to documentation ## v1.2.6 - 2022-02-28 diff --git a/README.md b/README.md index 507e667c..17b0d14b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # TWCManager -[![Stable Release](https://img.shields.io/badge/Stable_Release-1.2.6-blue)](https://github.com/ngardiner/TWCManager/releases/tag/v1.2.6) -[![Development Release](https://img.shields.io/badge/Devel_Release-1.3.0-green.svg)](https://github.com/ngardiner/TWCManager/tree/main) +[![Stable Release](https://img.shields.io/badge/Stable_Release-1.3.0-blue)](https://github.com/ngardiner/TWCManager/releases/tag/v1.3.0) +[![Development Release](https://img.shields.io/badge/Devel_Release-1.3.1-green.svg)](https://github.com/ngardiner/TWCManager/tree/main) ![Build Status](https://github.com/ngardiner/TWCManager/actions/workflows/test_suite.yml/badge.svg) ![GitHub commits](https://img.shields.io/github/commit-activity/m/ngardiner/TWCManager) ![Docker Pulls](https://img.shields.io/docker/pulls/twcmanager/twcmanager.svg) diff --git a/setup.py b/setup.py index 7f96c07e..6a37f94f 100755 --- a/setup.py +++ b/setup.py @@ -9,6 +9,7 @@ packages=find_namespace_packages(where="lib"), python_requires=">= 3.6", include_package_data=True, + long_description="Controls the charge rate of certain versions of Tesla Wall Connector (TWC) via the built-in Load Sharing protocol.", # Dependencies install_requires=[ "cryptography<3.4",