Skip to content

Commit 3af8c7c

Browse files
committed
updated python-publish
1 parent bd82c28 commit 3af8c7c

File tree

2 files changed

+9
-18
lines changed

2 files changed

+9
-18
lines changed

.github/workflows/python-publish.yml

+7-17
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,12 @@ on:
55
types: [published]
66

77
jobs:
8-
deploy:
8+
pypi-publish:
9+
name: upload release to PyPI
910
runs-on: ubuntu-latest
11+
environment: pypi
12+
permissions:
13+
id-token: write
1014
steps:
11-
- uses: actions/checkout@v3
12-
- name: Set up Python
13-
uses: actions/setup-python@v4
14-
with:
15-
python-version: '3.x'
16-
- name: Install dependencies
17-
run: |
18-
python -m pip install --upgrade pip
19-
pip install setuptools wheel twine
20-
- name: Build and publish
21-
env:
22-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
23-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
24-
run: |
25-
python setup.py sdist bdist_wheel
26-
twine upload dist/*
15+
- name: Publish package distributions to PyPI
16+
uses: pypa/gh-action-pypi-publish@release/v1

CHANGELOG.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Changelog
22
=========
33

4-
[1.0.0] (2024-11-XX)
4+
[1.0.0] (2025-02-14)
55
--------------------
66
Added
77
*******
@@ -13,6 +13,7 @@ Changed
1313
*******
1414
- retrained all models with new architecture and training data
1515
- removed backwards compatibility with old band naming scheme
16+
- updated pypi publisher
1617

1718
Fixed
1819
*******

0 commit comments

Comments
 (0)