Skip to content

Commit 98a69b2

Browse files
committed
Manual fixes
1 parent 37942ed commit 98a69b2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

{{cookiecutter.project_name}}/docs/template_usage.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ There you can see the execution history, logs, and (re-)trigger workflows manual
147147

148148
## Automating the PyPI release using GitHub actions
149149

150-
Tags adhering to `"*.*.*"` that are pushed to the `main` branch and subsequently [released][github-releases] will trigger the release Github workflow that automatically builds and uploads the Python package to [PyPI][].
150+
Releases created via the [Github releases UI][github-releases]
151+
will trigger the release Github workflow that automatically builds and uploads the Python package to [PyPI][].
151152

152153
For this to work, you'll need to setup GitHub as a [trusted publisher][] on PyPI.
153154
To set this up, login to [PyPI][], and proceed depending on whether you already have your project on there or not:
@@ -159,7 +160,8 @@ The "Workflow name" needs to bet set to `release.yaml`.
159160
Set "Environment name" to “pypi” to match `environment: pypi` in `.github/workflows/release.yaml`.
160161
For more details, please refer to the official [PyPI guide for setting up trusted publishing][trusted publisher].
161162

162-
If you added a new pending publisher to set up your project, the project will be published only once you release your package for the first time (see above).
163+
If you added a new pending publisher to set up your project,
164+
the project will be published only once you release your package for the first time (see above).
163165

164166
[github-releases]: https://docs.github.com/en/repositories/releasing-projects-on-github/about-releases
165167
[pypi-trusted-publishing-guide]: https://docs.pypi.org/trusted-publishers/adding-a-publisher/

0 commit comments

Comments
 (0)