Skip to content

Commit a140e6f

Browse files
authored
Update pypi release workflow & pyproject.toml (#68)
* fix email display bug in pyproject authors * update from testpypi to pypi * Revert "fix email display bug in pyproject authors" This reverts commit beeb59b. * update author email
1 parent 4ca51d8 commit a140e6f

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.github/workflows/release_pypi.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
name: Publish python package to testPyPI
1+
name: Publish python package to PyPI
22

33
on:
44
release:
55
types: [published]
66

77
jobs:
8-
publish-to-testpypi:
9-
name: Publish release to testPyPI
8+
publish-to-pypi:
9+
name: Publish release to PyPI
1010
runs-on: ubuntu-latest
1111
environment:
1212
name: testrelease
13-
url: https://test.pypi.org/p/DynamicalComponentsAnalysis/
13+
url: https://pypi.org/p/DynamicalComponentsAnalysis/
1414
permissions:
1515
id-token: write
1616

@@ -31,7 +31,5 @@ jobs:
3131
- name: Build package
3232
run: python -m build
3333

34-
- name: Publish package distributions to testPyPI
35-
uses: pypa/gh-action-pypi-publish@release/v1
36-
with:
37-
repository-url: https://test.pypi.org/legacy/
34+
- name: Publish package distributions to PyPI
35+
uses: pypa/gh-action-pypi-publish@release/v1

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ description = "Dynamical Components Analysis"
99
readme = "README.md"
1010
requires-python = ">=3.6"
1111
authors = [
12-
{ name="Jesse Livezey", email="[email protected]" },
13-
{ name="David Clark" }
12+
{ name = "Jesse Livezey", email = "[email protected]" },
13+
{ name = "David Clark", email = "[email protected]" }
1414
]
1515
license = { file = "LICENSE.txt" }
1616
classifiers = [

0 commit comments

Comments
 (0)