Skip to content

Commit

Permalink
CI/CD updates + Bump version (#19)
Browse files Browse the repository at this point in the history
* Update CI/CD to reflect article changes

* Version bump
  • Loading branch information
EndlessTrax authored Oct 14, 2024
1 parent 4238ba4 commit ac72a34
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
version: 2
updates:
- package-ecosystem: "pip"
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ jobs:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

- name: Test publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/

- name: Create GitHub Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "realpython-reader"
version = "1.1.2"
version = "1.1.3"
description = "Read the latest Real Python tutorials"
readme = "README.md"
authors = [{ name = "Real Python", email = "[email protected]" }]
Expand All @@ -31,7 +31,7 @@ requires-python = ">=3.7"


[tool.bumpver]
current_version = "1.1.2"
current_version = "1.1.3"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "bump version {old_version} -> {new_version}"
commit = true
Expand Down
2 changes: 1 addition & 1 deletion src/reader/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


# Version of realpython-reader package
__version__ = "1.1.2"
__version__ = "1.1.3"

# Read URL of the Real Python feed from config file
_cfg = tomllib.loads(resources.read_text("reader", "config.toml"))
Expand Down
2 changes: 1 addition & 1 deletion src/reader/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
Version:
--------
- realpython-reader v1.1.2
- realpython-reader v1.1.3
"""
# Standard library imports
import sys
Expand Down

0 comments on commit ac72a34

Please sign in to comment.