From 921fc98996db6f3162c390f0f6348e8d01247ff3 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Fri, 23 Feb 2024 16:55:20 -0500 Subject: [PATCH] build: Iterate the version number --- .github/workflows/pypi.yml | 5 ++--- CHANGELOG.rst | 4 ++-- docs/conf.py | 2 +- setup.py | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 1e9ee54..be8e546 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -3,6 +3,8 @@ on: push jobs: build: runs-on: ubuntu-latest + permissions: + id-token: write steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -13,11 +15,8 @@ jobs: - name: Publish to TestPyPI uses: pypa/gh-action-pypi-publish@release/v1 with: - password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository-url: https://test.pypi.org/legacy/ skip-existing: true - name: Publish to PyPI if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4067536..d223be0 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,5 +1,5 @@ -Unreleased ----------- +0.4.2 - February 23, 2024 +------------------------- * Add Python 3.8, 3.9, 3.10, 3.11, 3.12 support. * Drop support for Python 2.7 (EOL 2020-01-01), 3.4 (2019-03-18), 3.5 (2020-09-13), 3.6 (2021-12-23), 3.7 (2023-06-27). diff --git a/docs/conf.py b/docs/conf.py index c7b6e78..141002a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,7 +12,7 @@ project = 'agate-stats' copyright = '2015, Christopher Groskopf' -version = '0.4.1' +version = '0.4.2' release = version # -- General configuration --------------------------------------------------- diff --git a/setup.py b/setup.py index c36d619..a7c3f3f 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='agate-stats', - version='0.4.1', + version='0.4.2', description='agate-stats adds additional statistical methods to agate.', long_description=long_description, long_description_content_type='text/x-rst',