Skip to content

Commit

Permalink
update version and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski committed Oct 12, 2024
1 parent 398d5f1 commit 5a00e26
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: "3.12"

- if: ${{ github.ref == 'refs/heads/main' }}
run: |
Expand Down Expand Up @@ -94,16 +94,18 @@ jobs:
path: dist/*.tar.gz

upload:
if: ${{ github.ref == 'refs/heads/main' }}
needs: [wheels, sdist]
runs-on: ubuntu-latest

environment:
name: pypi
url: https://pypi.org/project/iminuit/

permissions:
id-token: write
attestations: write
if: ${{ github.ref == 'refs/heads/main' }}

steps:
- uses: actions/download-artifact@v4
with:
Expand All @@ -116,15 +118,10 @@ jobs:
with:
subject-path: "dist/iminuit-*"

- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{secrets.pypi_password}}

release:
if: ${{ github.ref == 'refs/heads/main' }}
needs: [release_check, upload]
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v4
- uses: softprops/action-gh-release@v2
Expand Down
7 changes: 7 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
Changelog
=========

2.30.2 (October 12, 2024)
-------------------------
- Fix docs (`#1052 <https://github.com/scikit-hep/iminuit/pull/1052>`_)
- Fix: use old license text (`#1050 <https://github.com/scikit-hep/iminuit/pull/1050>`_)
- Chore: some minor updates (`#1051 <https://github.com/scikit-hep/iminuit/pull/1051>`_)
- Ci: use official gha for uv (`#1048 <https://github.com/scikit-hep/iminuit/pull/1048>`_)

2.30.1 (October 08, 2024)
-------------------------
- Ci: add 3.13 wheels (`#1047 <https://github.com/scikit-hep/iminuit/pull/1047>`_)
Expand Down
2 changes: 2 additions & 0 deletions doc/update_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
for x in git_log:
if x.startswith("[pre-commit.ci]"):
continue
if x.lower().startswith("bump actions"):
continue
x = re.sub(
"#([0-9]+)", r"`#\1 <https://github.com/scikit-hep/iminuit/pull/\1>`_", x
)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "scikit_build_core.build"
[project]
name = "iminuit"
description = "Jupyter-friendly Python frontend for MINUIT2 in C++"
version = "2.30.1"
version = "2.30.2"
maintainers = [{ name = "Hans Dembinski", email = "[email protected]" }]
readme = "README.rst"
requires-python = ">=3.9"
Expand Down

0 comments on commit 5a00e26

Please sign in to comment.