Skip to content

Commit a2f31f2

Browse files
authored
πŸ”Š Enable verbose logging for pypa/gh-action-pypi-publish (#42)
Set verbose mode, to see why upload to TestPyPI fails with HTTPError: 400 Bad Request from https://test.pypi.org/legacy/`
1 parent 9a18664 commit a2f31f2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

β€Ž.github/workflows/ci.ymlβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ jobs:
257257
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
258258
with:
259259
repository-url: https://test.pypi.org/legacy/
260+
verbose: true
260261

261262
publish-to-pypi:
262263
name: Publish Python 🐍 distribution πŸ“¦ to PyPI
@@ -277,3 +278,5 @@ jobs:
277278

278279
- name: Publish distribution πŸ“¦ to PyPI
279280
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
281+
with:
282+
verbose: true

β€ŽCargo.tomlβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ commit_preprocessors = [
103103
{ pattern = ':heavy_minus_sign:', replace = "βž–" },
104104
{ pattern = ':heavy_plus_sign:', replace = "βž•" },
105105
{ pattern = ':lock:', replace = "πŸ”’οΈ" },
106+
{ pattern = ':loud_sound:', replace = "πŸ”Š|" },
106107
{ pattern = ':memo:', replace = "πŸ“" },
107108
{ pattern = ':pushpin:', replace = "πŸ“Œ" },
108109
{ pattern = ':recycle:', replace = "♻️" },
@@ -121,7 +122,7 @@ commit_parsers = [
121122
{ message = "^(πŸ›|:bug:)", group = "<!-- 2 --> πŸ› Bug Fixes" },
122123
{ message = "^(♻️|:recycle:|🚚|:truck:|🎨|:art:)", group = "<!-- 3 --> 🏭 Refactors" },
123124
{ message = "^(πŸ“|:memo:)", group = "<!-- 4 --> πŸ“ Documentation" },
124-
{ message = "^(πŸ‘·|:construction_worker:|πŸ”§|:wrench:|⬆️|:arrow_up:|βž•|:heavy_plus_sign:|βž–|:heavy_minus_sign:|⬇️|:arrow_down:|πŸ“Œ|:pushpin:|πŸ”’οΈ|:lock:|🚨|:rotating_light:|🌱|:seedling:)", group = "<!-- 5 --> 🧰 Maintenance" },
125+
{ message = "^(πŸ‘·|:construction_worker:|πŸ”§|:wrench:|⬆️|:arrow_up:|βž•|:heavy_plus_sign:|βž–|:heavy_minus_sign:|⬇️|:arrow_down:|πŸ“Œ|:pushpin:|πŸ”’οΈ|:lock:|🚨|:rotating_light:|🌱|:seedling:|πŸ”Š|:loud_sound:)", group = "<!-- 5 --> 🧰 Maintenance" },
125126
]
126127
# filter out the commits that are not matched by commit parsers
127128
filter_commits = false

0 commit comments

Comments
Β (0)