Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(build): try make releases to testpypi work #247

Merged
merged 1 commit into from May 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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