Skip to content

Commit 57f77df

Browse files
fix pypi publishing #1105 (#1119)
1 parent 2555f84 commit 57f77df

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

.github/workflows/create-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
uses: ./.github/workflows/publish.yml
5151
with:
5252
icloudpd_version: ${{needs.get_version.outputs.icloudpd_version}}
53+
PYPI_REPOSITORY: ${{ vars.PYPI_REPOSITORY }}
5354
secrets:
5455
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
5556
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
icloudpd_version:
55
required: true
66
type: string
7+
PYPI_REPOSITORY:
8+
required: false
9+
type: string
710
secrets:
811
DOCKERHUB_USERNAME:
912
required: false
@@ -113,6 +116,7 @@ jobs:
113116
114117
- name: Publish PyPI
115118
env:
119+
TWINE_REPOSITORY: ${{ inputs.PYPI_REPOSITORY }}
116120
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
117121
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
118122
run: |

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
- fix: broken pypi publishing [#1105](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/1105)
6+
57
## 1.27.3 (2025-04-14)
68

79
- feature: the icloud email username is now included in the email about 2sa authentication failing, for when an installation is configured for multiple icloud accounts.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dependencies = [
4545

4646
[project.optional-dependencies]
4747
dev = [
48-
"twine==5.1.1",
48+
"twine==6.0.1",
4949
"pyinstaller==6.11.1",
5050
"wheel==0.45.1",
5151
"furo==2024.8.6",

0 commit comments

Comments
 (0)