Skip to content

Commit 5c475d6

Browse files
committed
📝 update changes
2 parents cd6d473 + a35b186 commit 5c475d6

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.github/workflows/release.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff 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:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version="1.0.1"
44
description = "."
55
readme = "README.rst"
66
requires-python = ">=3.8"
7-
license = {file = "LICENSE"}
7+
license = { text = "GNU General Public License v3.0" }
88
authors = [
99
{name = "Brazil Data Cube Team", email = "[email protected]"},
1010
]

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ source-dir = docs/sphinx/
2424
build-dir = docs/sphinx/_build
2525
all_files = 1
2626

27+
28+
[metadata]
29+
license_files =

0 commit comments

Comments
 (0)