Skip to content

Commit 624ecec

Browse files
committed
fix: ensure package metadata is passed correctly and fix syntax errors in release-python.yml
1 parent 45c601f commit 624ecec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

{{cookiecutter.project_name}}/.github/workflows/release-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
env:
6262
# TestPyPI credentials stored as secrets in GitHub Settings -> Secrets
6363
TWINE_USERNAME: __token__ # Standard username when using API tokens
64-
TWINE_PASSWORD: {% raw %}[{% raw %} {{ "${{ secrets.TESTPYPI_API_TOKEN }}" }} {% raw %}]{% endraw %} # Use GitHub Encrypted Secret
64+
TWINE_PASSWORD: {% raw %}${{ secrets.TESTPYPI_API_TOKEN }} {% endraw } # Use GitHub Encrypted Secret
6565
# Optional: If uv publish requires different config for repository URL, pass TWINE_REPOSITORY or similar
6666
run: uvx nox -s publish-package -- --repository testpypi # Call the publish-package session, passing repository arg
6767

{{cookiecutter.project_name}}/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
2-
name = "{{cookiecutter.package_name}}"
3-
version = "0.1.0"
4-
description = "{{cookiecutter.package_name}}"
2+
name = "{{cookiecutter.project_name}}"
3+
version = "{{cookiecutter.version}}"
4+
description = "{{cookiecutter.project_name}}"
55
authors = [
66
{ name = "{{cookiecutter.author}}", email = "{{cookiecutter.email}}" },
77
]

0 commit comments

Comments
 (0)