Skip to content

Commit 8725c80

Browse files
committed
auto-release fix
1 parent e49b950 commit 8725c80

File tree

3 files changed

+14
-16
lines changed

3 files changed

+14
-16
lines changed

.github/workflows/wheels.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ on:
99
paths-ignore:
1010
- 'doc/**'
1111
- '*.rst'
12-
release:
13-
types: [published]
1412

1513
env:
1614
CIBW_BEFORE_BUILD: "python -m pip install numpy --only-binary=:all:"
@@ -64,27 +62,24 @@ jobs:
6462
path: dist/*.tar.gz
6563

6664
release:
65+
if: startsWith(github.ref, 'refs/tags/')
66+
needs: [wheels, sdist]
6767
runs-on: ubuntu-latest
6868
steps:
6969
- uses: actions/checkout@v2
7070
- uses: softprops/action-gh-release@v1
71-
if: startsWith(github.ref, 'refs/tags/')
7271
with:
7372
draft: True
7473
body: "[See changelog on RTD](https://iminuit.readthedocs.io/en/stable/changelog.html)"
7574
env:
7675
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7776

78-
upload:
79-
needs: [wheels, sdist, release]
80-
runs-on: ubuntu-latest
81-
steps:
82-
- uses: actions/download-artifact@v2
83-
with:
84-
name: artifact
85-
path: dist
77+
- uses: actions/download-artifact@v2
78+
with:
79+
name: artifact
80+
path: dist
8681

87-
- uses: pypa/gh-action-pypi-publish@master
88-
with:
89-
user: __token__
90-
password: ${{secrets.pypi_password}}
82+
- uses: pypa/gh-action-pypi-publish@master
83+
with:
84+
user: __token__
85+
password: ${{secrets.pypi_password}}

doc/changelog.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
Changelog
66
=========
77

8+
2.5.1
9+
-----
10+
811
2.5.0 (April 30, 2021)
912
----------------------
1013

src/iminuit/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# - Increase MAINTENANCE when fixing bugs without adding features
88
# - During development, add suffix .devN with N >= 0
99
# - For release candidates, add suffix .rcN with N >= 0
10-
iminuit_version = "2.5.0"
10+
iminuit_version = "2.5.1"
1111

1212
# We list the corresponding ROOT version of the C++ Minuit2 library here
1313
root_version = "v6-23-01-RF-binSampling-685-ga642cc22e3"

0 commit comments

Comments
 (0)