Skip to content

Commit

Permalink
Release for PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
mnolander committed Aug 8, 2024
1 parent dfa04d2 commit 89771c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ jobs:
'${{ github.ref_name }}' dist/**
--repo '${{ github.repository }}'
publish-to-testpypi:
name: Publish Python distribution to TestPyPI
publish-to-pypi:
name: Publish Python distribution to PyPI
needs:
- build
runs-on: ubuntu-latest
environment:
name: testpypi
url: https://test.pypi.org/p/pyNFFT3
name: pypi
url: https://pypi.org/p/pyNFFT3
permissions:
id-token: write
steps:
Expand All @@ -84,7 +84,5 @@ jobs:
with:
name: python-package-distributions
path: dist/
- name: Publish distribution to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "pyNFFT3"
version = "0.2.0"
version = "0.2.1"
authors = [
{ name="Michael Nolander", email="nolander.michael@gmail.com" },
]
Expand Down

0 comments on commit 89771c4

Please sign in to comment.