Skip to content

Commit

Permalink
auto-release fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski committed Apr 30, 2021
1 parent e49b950 commit 8725c80
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
paths-ignore:
- 'doc/**'
- '*.rst'
release:
types: [published]

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

release:
if: startsWith(github.ref, 'refs/tags/')
needs: [wheels, sdist]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: True
body: "[See changelog on RTD](https://iminuit.readthedocs.io/en/stable/changelog.html)"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

upload:
needs: [wheels, sdist, release]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
with:
name: artifact
path: dist
- uses: actions/download-artifact@v2
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{secrets.pypi_password}}
- uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{secrets.pypi_password}}
3 changes: 3 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
Changelog
=========

2.5.1
-----

2.5.0 (April 30, 2021)
----------------------

Expand Down
2 changes: 1 addition & 1 deletion src/iminuit/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# - Increase MAINTENANCE when fixing bugs without adding features
# - During development, add suffix .devN with N >= 0
# - For release candidates, add suffix .rcN with N >= 0
iminuit_version = "2.5.0"
iminuit_version = "2.5.1"

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

0 comments on commit 8725c80

Please sign in to comment.