File tree Expand file tree Collapse file tree 4 files changed +19
-4
lines changed
Expand file tree Collapse file tree 4 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,11 @@ jobs:
177177 - name : Install build and twine
178178 run : |
179179 python3 -m pip install --upgrade pip
180- python3 -m pip install build twine
180+ python3 -m pip install --upgrade "setuptools>=67" wheel build twine
181+
182+ - name : Clean previous artifacts
183+ run : |
184+ rm -rf dist *.egg-info
181185
182186 - name : Generate stubs
183187 run : |
@@ -188,6 +192,10 @@ jobs:
188192 run : |
189193 python3 -m build
190194
195+ - name : Check distributions (fail fast)
196+ run : |
197+ python3 -m twine check dist/*
198+
191199 - name : Upload artifacts
192200 uses : actions/upload-artifact@v4
193201 with :
@@ -212,8 +220,12 @@ jobs:
212220 TWINE_USERNAME : " __token__"
213221 TWINE_PASSWORD : ${{ secrets.TEST_PYPI_API_TOKEN }}
214222 run : |
223+ python3 -m pip install --upgrade pip
215224 python3 -m pip install twine
216- python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
225+ python3 -m twine upload \
226+ --repository-url https://test.pypi.org/legacy/ \
227+ --verbose \
228+ dist/*
217229
218230 # Publish to PYPI
219231 pypi_publish :
Original file line number Diff line number Diff line change 2020Changes
2121=======
2222
23- Version 1.0.2 (2025-12-18 )
23+ Version 1.0.2 (2025-12-19 )
2424--------------------------
2525
2626- Add actions for release (`#89 <https://github.com/brazil-data-cube/lccs.py/issues/89 >`_)
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ version="1.0.2"
44description = " ."
55readme = " README.rst"
66requires-python = " >=3.8"
7- license = {file = " LICENSE " }
7+ license = { text = " GNU General Public License v3.0 " }
88authors = [
99 {
name =
" Brazil Data Cube Team" ,
email =
" [email protected] " },
1010]
Original file line number Diff line number Diff line change @@ -24,3 +24,6 @@ source-dir = docs/sphinx/
2424build-dir = docs/sphinx/_build
2525all_files = 1
2626
27+
28+ [metadata]
29+ license_files =
You can’t perform that action at this time.
0 commit comments