Skip to content

Commit fcf5422

Browse files
committed
chore: update demo to the latest cookiecutter-robust-python
1 parent a69177c commit fcf5422

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

.cookiecutter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"_commit": "a98f2e32f30880d0d960acc164e39d8775487ac9",
2+
"_commit": "cf9310790f4060a9056e7989067d3d846787f3b4",
33
"_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
44
"add_rust_extension": false,
55
"author": "Kyle Oliver",

.cruft.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
3-
"commit": "a98f2e32f30880d0d960acc164e39d8775487ac9",
3+
"commit": "cf9310790f4060a9056e7989067d3d846787f3b4",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -18,7 +18,7 @@
1818
"license": "MIT",
1919
"development_status": "Development Status :: 1 - Planning",
2020
"_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
21-
"_commit": "a98f2e32f30880d0d960acc164e39d8775487ac9"
21+
"_commit": "cf9310790f4060a9056e7989067d3d846787f3b4"
2222
}
2323
},
2424
"directory": null

.github/workflows/release-python.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ jobs:
6868
name: distribution-packages-${{ needs.get_tag.outputs.tag }}
6969
path: dist/
7070

71-
- name: Publish to TestPyPI
72-
env:
73-
UV_PUBLISH_TOKEN: ${{ secrets.TESTPYPI_API_TOKEN }}
74-
run: uvx nox -s publish-python -- --index testpypi
71+
- name: Publish package distributions to TestPyPI
72+
uses: pypa/gh-action-pypi-publish@release/v1
73+
with:
74+
repository-url: https://test.pypi.org/legacy/
7575

7676
publish_pypi_and_github:
7777
name: Publish to Production PyPI and GitHub
@@ -101,10 +101,8 @@ jobs:
101101
git tag ${{ needs.build_and_testpypi.outputs.tag }}
102102
git push origin ${{ needs.build_and_testpypi.outputs.tag }}
103103
104-
- name: Publish to PyPI
105-
env:
106-
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
107-
run: uvx nox -s publish-python
104+
- name: Publish package distributions to TestPyPI
105+
uses: pypa/gh-action-pypi-publish@release/v1
108106

109107
- name: Publish to GitHub
110108
env:

0 commit comments

Comments
 (0)