Skip to content

Commit

Permalink
Fix issue with workflow for creating docker + pypi release packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ngardiner committed May 28, 2023
1 parent ffe5ef5 commit 93a5606
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 31 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/docker+pypi.yml
Expand Up @@ -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

Expand All @@ -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
Expand Down
43 changes: 24 additions & 19 deletions CHANGELOG.md
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions 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)
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -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",
Expand Down

0 comments on commit 93a5606

Please sign in to comment.