Skip to content

Commit

Permalink
fix(build): try make releases to testpypi work (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen authored and fabaff committed May 16, 2019
1 parent 39c6207 commit a5e7427
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 2 deletions.
38 changes: 38 additions & 0 deletions .circleci/config.yml
Expand Up @@ -185,6 +185,31 @@ jobs:
path: test-reports
destination: test-reports

deploy:
executor:
name: python
tag: 3.5.5-stretch
steps:
- checkout
- docker-prereqs
- install

- run:
name: verify release okey
command: |
script/check_release
- run:
name: init .pypirc
command: |
echo -e "[pypi]" >> ~/.pypirc
echo -e "username = maxandersen" >> ~/.pypirc
echo -e "password = $PYPI_PASSWORD" >> ~/.pypirc
echo -e "repository = https://test.pypi.org/legacy" >> ~/.pypirc
- run:
name: do release
command: |
script/release
workflows:
version: 2
build:
Expand Down Expand Up @@ -230,3 +255,16 @@ workflows:
# - test:
# name: test 3.8
# python: 3.8-rc-stretch
- deploy:
requires:
- test 3.6
- pylint
- test 3.5.5
- test 3.7
filters:
tags:
only: /[0-9]+(\.[0-9]+)*/
branches:
only:
- dev

4 changes: 2 additions & 2 deletions README.rst
Expand Up @@ -500,8 +500,8 @@ after this you should be able to edit the source code and running `hass-cli` dir
$ hass-cli
.. |Build Status| image:: https://travis-ci.com/home-assistant/home-assistant-cli.svg?branch=dev
:target: https://travis-ci.com/home-assistant/home-assistant-cli
.. |Build Status| image:: https://circleci.com/gh/home-assistant/home-assistant-cli/tree/dev.svg?style=svg
:target: https://circleci.com/gh/home-assistant/home-assistant-cli/tree/dev
.. |Chat Status| image:: https://img.shields.io/discord/330944238910963714.svg
:target: https://discord.gg/c5DvZ4e
Expand Down

0 comments on commit a5e7427

Please sign in to comment.