From 545fa10a8c20fcfdc1814373f338a54f22a7e402 Mon Sep 17 00:00:00 2001 From: Max Rydahl Andersen Date: Sun, 17 Nov 2019 23:27:17 +0100 Subject: [PATCH 1/2] release 0.8 --- homeassistant_cli/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant_cli/const.py b/homeassistant_cli/const.py index fc95e0e..eb7541c 100644 --- a/homeassistant_cli/const.py +++ b/homeassistant_cli/const.py @@ -1,7 +1,7 @@ """Constants used by Home Assistant CLI (hass-cli).""" PACKAGE_NAME = 'homeassistant_cli' -__version__ = '0.8.0.dev0' +__version__ = '0.8.0' AUTO_SERVER = 'auto' DEFAULT_SERVER = 'http://localhost:8123' From d3115118f97df67e8153872582ed7d4350e233ce Mon Sep 17 00:00:00 2001 From: Max Rydahl Andersen Date: Mon, 18 Nov 2019 00:06:28 +0100 Subject: [PATCH 2/2] make circleci handle ci release from tags --- .circleci/config.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index dcb06ea..b7a1428 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -224,29 +224,48 @@ workflows: - pre-install-all-requirements: requires: - static-check + filters: + tags: + only: /[0-9]+(\.[0-9]+)*/ - pylint: requires: - pre-install-all-requirements + filters: + tags: + only: /[0-9]+(\.[0-9]+)*/ - pre-test: name: pre-test 3.6 requires: - static-check python: 3.6-stretch + filters: + tags: + only: /[0-9]+(\.[0-9]+)*/ - pre-test: name: pre-test 3.7 requires: - static-check python: 3.7-stretch + filters: + tags: + only: /[0-9]+(\.[0-9]+)*/ - test: name: test 3.6 requires: - pre-test 3.6 python: 3.6-stretch + filters: + tags: + only: /[0-9]+(\.[0-9]+)*/ - test: name: test 3.7 requires: - pre-test 3.7 python: 3.7-stretch + filters: + tags: + only: /[0-9]+(\.[0-9]+)*/ + # CircleCI does not allow failure yet # - test: # name: test 3.8