Skip to content

Commit

Permalink
🔀 Merge branch 'release-2020.05.24'
Browse files Browse the repository at this point in the history
  • Loading branch information
opacam committed May 24, 2020
2 parents 0ee83fc + f360ebb commit 1a0048a
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 3 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI

on:
release:
types: [created]

jobs:
build-n-publish:
name: Build and publish client-for-tvdb🐍 distributions 📦 to PyPI and TestPyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install pep517
run: >-
python -m
pip install
pep517
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
pep517.build
--source
--binary
--out-dir dist/
.
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.test_pypi_password }}
repository_url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.pypi_password }}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@

# Changelog

## [v2020.05.24](https://github.com/opacam/client-for-tvdb/tree/v2020.05.24) (2020-05-24)
[Full Changelog](https://github.com/opacam/client-for-tvdb/compare/v2020.05.23.post0...v2020.05.24)

**Merged pull requests:**

- :sparkles: Add badge for published PyPI version [\#2](https://github.com/opacam/client-for-tvdb/pull/2) ([opacam](https://github.com/opacam))
- :package: Publish on PyPI when new release created [\#1](https://github.com/opacam/client-for-tvdb/pull/1) ([opacam](https://github.com/opacam))

## [v2020.05.23.post0](https://github.com/opacam/client-for-tvdb/tree/v2020.05.23.post0) (2020-05-24)
[Full Changelog](https://github.com/opacam/client-for-tvdb/compare/v2020.05.23...v2020.05.23.post0)

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
[![Python versions](https://img.shields.io/badge/Python-3.6+-brightgreen.svg?style=flat)](https://www.python.org/downloads/)
[![GitHub release](https://img.shields.io/github/release/opacam/client-for-tvdb.svg)](https://gitHub.com/opacam/client-for-tvdb/releases/)
[![GitHub tag](https://img.shields.io/github/tag/opacam/client-for-tvdb.svg)](https://gitHub.com/opacam/client-for-tvdb/tags/)
[![PyPI version fury.io](https://badge.fury.io/py/client-for-tvdb.svg)](https://pypi.python.org/pypi/client-for-tvdb/)
[![GitHub license](https://img.shields.io/github/license/opacam/client-for-tvdb.svg)](https://github.com/opacam/client-for-tvdb/blob/master/LICENSE.md)


Expand Down
2 changes: 1 addition & 1 deletion client_for_tvdb/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from client_for_tvdb.client import TvdbClient

__version__ = "2020.05.23.post0"
__version__ = "2020.05.24"

__all__ = ["__version__", "TvdbClient"]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "client-for-tvdb"
version = "2020.05.23.post0"
version = "2020.05.24"
description = "A simple client for the TVDB API v3."
license = "MIT"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_client_for_tvdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@


def test_version_for_module():
assert __version__ == '2020.05.23.post0'
assert __version__ == '2020.05.24'

0 comments on commit 1a0048a

Please sign in to comment.