add pypi user (#1401)

* add pypi user

* changelog

* changelog
This commit is contained in:
Jirka Borovec 2020-04-07 15:49:38 +02:00 committed by GitHub
parent 91a4ea9b38
commit b2ae57795f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -10,7 +10,7 @@ jobs:
strategy: strategy:
max-parallel: 4 max-parallel: 4
matrix: matrix:
python-version: [3.7] python-version: [3.6, 3.7]
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
@ -31,6 +31,7 @@ jobs:
if: startsWith(github.event.ref, 'refs/tags') if: startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master uses: pypa/gh-action-pypi-publish@master
with: with:
user: __token__
password: ${{ secrets.test_pypi_password }} password: ${{ secrets.test_pypi_password }}
repository_url: https://test.pypi.org/legacy/ repository_url: https://test.pypi.org/legacy/
@ -38,4 +39,5 @@ jobs:
if: startsWith(github.event.ref, 'refs/tags') if: startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master uses: pypa/gh-action-pypi-publish@master
with: with:
user: __token__
password: ${{ secrets.pypi_password }} password: ${{ secrets.pypi_password }}

View File

@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
## [unreleased] - YYYY-MM-DD ## [0.7.2] - 2020-04-07
### Added ### Added

View File

@ -3,7 +3,7 @@ graft wheelhouse
recursive-exclude __pycache__ *.py[cod] *.orig recursive-exclude __pycache__ *.py[cod] *.orig
# Include the README # Include the README and CHANGELOG
include *.md include *.md
# Include the license file # Include the license file