Skip to content

Commit ac72a34

Browse files
authored
CI/CD updates + Bump version (realpython#19)
* Update CI/CD to reflect article changes * Version bump
1 parent 4238ba4 commit ac72a34

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

.github/dependabot.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
version: 2
23
updates:
34
- package-ecosystem: "pip"

.github/workflows/publish.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ jobs:
2828
user: __token__
2929
password: ${{ secrets.PYPI_API_TOKEN }}
3030

31+
- name: Test publish package
32+
uses: pypa/gh-action-pypi-publish@release/v1
33+
with:
34+
user: __token__
35+
password: ${{ secrets.PYPI_API_TOKEN }}
36+
repository-url: https://test.pypi.org/legacy/
37+
3138
- name: Create GitHub Release
3239
env:
3340
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "realpython-reader"
7-
version = "1.1.2"
7+
version = "1.1.3"
88
description = "Read the latest Real Python tutorials"
99
readme = "README.md"
1010
authors = [{ name = "Real Python", email = "info@realpython.com" }]
@@ -31,7 +31,7 @@ requires-python = ">=3.7"
3131

3232

3333
[tool.bumpver]
34-
current_version = "1.1.2"
34+
current_version = "1.1.3"
3535
version_pattern = "MAJOR.MINOR.PATCH"
3636
commit_message = "bump version {old_version} -> {new_version}"
3737
commit = true

src/reader/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020

2121
# Version of realpython-reader package
22-
__version__ = "1.1.2"
22+
__version__ = "1.1.3"
2323

2424
# Read URL of the Real Python feed from config file
2525
_cfg = tomllib.loads(resources.read_text("reader", "config.toml"))

src/reader/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
Version:
4141
--------
4242
43-
- realpython-reader v1.1.2
43+
- realpython-reader v1.1.3
4444
"""
4545
# Standard library imports
4646
import sys

0 commit comments

Comments
 (0)