1
1
---
2
- name : Publish PyPI Release
2
+ name : Publish PyPI Release (BROKEN)
3
3
4
4
on :
5
5
release :
@@ -11,26 +11,40 @@ jobs:
11
11
12
12
steps :
13
13
- uses : actions/checkout@v4
14
+ # - name: Set up Python
15
+ # uses: actions/setup-python@v5
16
+ # with:
17
+ # python-version: "3.x"
14
18
15
- - name : Set up Python
16
- uses : actions/setup-python@v5
17
- with :
18
- python-version : " 3.x"
19
-
20
- - name : Install dependencies
21
- run : |
22
- python -m pip install -U pip
23
- python -m pip install -r requirements/build.txt
24
- python -m pip install -r requirements.txt
25
-
26
- - name : Build package
27
- run : |
28
- python -m build --sdist --wheel --outdir dist .
29
- twine check dist/*
30
-
31
- - name : Upload packages to Jazzband
32
- uses : pypa/gh-action-pypi-publish@release/v1
33
- with :
34
- user : jazzband
35
- password : ${{ secrets.JAZZBAND_RELEASE_KEY }}
36
- repository-url : https://jazzband.co/projects/django-dbbackup/upload
19
+ # - name: Install dependencies
20
+ # run: |
21
+ # python -m pip install -U pip
22
+ # python -m pip install -U -r requirements/build.txt
23
+ # python -m pip install -U -r requirements.txt
24
+
25
+ # - name: Build package
26
+ # run: |
27
+ # python -m build --sdist --wheel --outdir dist .
28
+ # twine check dist/*
29
+
30
+ # - name: Upload packages to Jazzband
31
+ # uses: pypa/gh-action-pypi-publish@release/v1
32
+ # with:
33
+ # user: jazzband
34
+ # password: ${{ secrets.JAZZBAND_RELEASE_KEY }}
35
+ # repository-url: https://jazzband.co/projects/django-dbbackup/upload
36
+
37
+ # This workflopw is disabled due to the following error:
38
+ #
39
+ # ERROR HTTPError: 500 Internal Server Error from
40
+ # https://jazzband.co/projects/django-dbbackup/upload
41
+ # INTERNAL SERVER ERROR
42
+
43
+ # Until we are transfered out of Jazzband, the workaround is releasing manually via personal PyPI accounts.
44
+ # The following steps are required to release a new version of the package:
45
+ # python -m pip install -U pip
46
+ # python -m pip install -U -r requirements/build.txt
47
+ # python -m pip install -U -r requirements.txt
48
+ # python -m build --sdist --wheel --outdir dist .
49
+ # twine check dist/*
50
+ # twine upload dist/*
0 commit comments