@@ -33,35 +33,12 @@ jobs:
33
33
name : release-dists
34
34
path : dist/
35
35
36
- # pypi-publish:
37
- # name: Upload release to PyPI
38
- # runs-on: ubuntu-latest
39
- # environment:
40
- # name: release
41
- # url: https://pypi.org/p/django-expanded-text-cases
42
- # needs:
43
- # - release-build
44
- # permissions:
45
- # id-token: write
46
- #
47
- # steps:
48
- # - name: Retrieve release distributions
49
- # uses: actions/download-artifact@v4
50
- # with:
51
- # name: release-dists
52
- # path: dist/
53
- #
54
- # - name: Publish release distributions to PyPI
55
- # uses: pypa/gh-action-pypi-publish@release/v1
56
- # with:
57
- # repository-url: https://pypi.org/legacy/
58
-
59
- test-pypi-publish :
60
- name : Upload release to Test PyPI
36
+ pypi-publish :
37
+ name : Upload release to PyPI
61
38
runs-on : ubuntu-latest
62
39
environment :
63
40
name : release
64
- url : https://test. pypi.org/p/django-expanded-text-cases
41
+ url : https://pypi.org/p/django-expanded-text-cases
65
42
needs :
66
43
- release-build
67
44
permissions :
74
51
name : release-dists
75
52
path : dist/
76
53
77
- - name : Publish release distributions to TestPyPI
54
+ - name : Publish release distributions to PyPI
78
55
uses : pypa/gh-action-pypi-publish@release/v1
79
56
with :
80
- repository-url : https://test.pypi.org/legacy/
81
- skip-existing : true
82
- verbose : true
57
+ repository-url : https://upload.pypi.org/legacy/
58
+
59
+ # test-pypi-publish:
60
+ # name: Upload release to Test PyPI
61
+ # runs-on: ubuntu-latest
62
+ # environment:
63
+ # name: release
64
+ # url: https://test.pypi.org/p/django-expanded-text-cases
65
+ # needs:
66
+ # - release-build
67
+ # permissions:
68
+ # id-token: write
69
+ #
70
+ # steps:
71
+ # - name: Retrieve release distributions
72
+ # uses: actions/download-artifact@v4
73
+ # with:
74
+ # name: release-dists
75
+ # path: dist/
76
+ #
77
+ # - name: Publish release distributions to TestPyPI
78
+ # uses: pypa/gh-action-pypi-publish@release/v1
79
+ # with:
80
+ # repository-url: https://test.pypi.org/legacy/
81
+ # skip-existing: true
82
+ # verbose: true
0 commit comments