From f17a6ec4c4a087fe528fb25b27169fa24632a2cc Mon Sep 17 00:00:00 2001 From: Andrey Nikiforov Date: Sat, 1 Jun 2024 01:00:14 +0000 Subject: [PATCH] bump 1.19.0 --- CHANGELOG.md | 2 ++ CONTRIBUTING.md | 6 +++--- EXPERIMENTAL.md | 6 +++--- FAQ.md | 10 +++++----- binary_dist/pyproject.toml | 2 +- pyproject.toml | 2 +- scripts/publish_pypi | 2 +- src/icloudpd/base.py | 2 +- 8 files changed, 17 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b361b6e6b..5cc7020aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## 1.19.0 (2024-05-31) + - fix: release notes [#849](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/849) - fix: auto deletion when `--folder-structure` is set to `none` [#831](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/831) - fix: Apple/Adobe DNG raw photos are recognised as images [#662](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/662) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5d57a1059..583f16aa8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -121,21 +121,21 @@ scripts/build Building platform executables: ``` sh -scripts/build_bin_linux 1.18.0 amd64 +scripts/build_bin_linux 1.19.0 amd64 ``` Note: that command is for Linux, including devcontainers. Windows & MacOS scripts must be executed on respective platforms. Building Python wheels (with single executables; platform-specific): ``` sh -scripts/build_binary_dist_linux 1.18.0 +scripts/build_binary_dist_linux 1.19.0 ``` Note: that the step expects executables to be already prepared by previous step Building NPM packages (with single executables; platform-specific): ``` sh -scripts/build_npm 1.18.0 +scripts/build_npm 1.19.0 ``` Note: that the step expects executables to be already prepared by previous steps diff --git a/EXPERIMENTAL.md b/EXPERIMENTAL.md index 9fcc9d38d..aa5841e40 100644 --- a/EXPERIMENTAL.md +++ b/EXPERIMENTAL.md @@ -34,17 +34,17 @@ Legacy command (compatible with prior versions): `docker run -it --rm icloudpd:icloudpd icloud --help` -`icloudpd-1.18.0-windows-amd64 --help` +`icloudpd-1.19.0-windows-amd64 --help` Help: `docker run -it --rm icloudpd:icloudpd` -`icloudpd-ex-1.18.0-windows-amd64 --help` +`icloudpd-ex-1.19.0-windows-amd64 --help` Example: `docker run -it --rm icloudpd:icloudpd copy my@email.address /path/to/{album}/{date_created:%Y/%Y-%m}` -`icloudpd-ex-1.18.0-windows-amd64 copy my@email.address /path/to/{album}/{date_created:%Y/%Y-%m}` +`icloudpd-ex-1.19.0-windows-amd64 copy my@email.address /path/to/{album}/{date_created:%Y/%Y-%m}` diff --git a/FAQ.md b/FAQ.md index 9ff1e52e7..c98c69d71 100644 --- a/FAQ.md +++ b/FAQ.md @@ -68,13 +68,13 @@ Access to iCloud.com is blocked from mainland China. `icloudpd` can be used with Here are the steps to make it working: - download binary from Github [Releases](https://github.com/icloud-photos-downloader/icloud_photos_downloader/releases) into desired local folder -- add executable flag by running `chmod +x icloudpd-1.18.0-macos-amd64` -- start it from the terminal: `icloudpd-1.18.0-macos-amd64` +- add executable flag by running `chmod +x icloudpd-1.19.0-macos-amd64` +- start it from the terminal: `icloudpd-1.19.0-macos-amd64` - Apple will tell you that it cannot check for malicous software and refuse to run the app; click "Ok" -- Open "System Settings"/"Privacy & Security" and find `icloudpd-1.18.0-macos-amd64` as blocked app; Click "Allow" -- Start `icloudpd-1.18.0-macos-amd64` from the terminal again +- Open "System Settings"/"Privacy & Security" and find `icloudpd-1.19.0-macos-amd64` as blocked app; Click "Allow" +- Start `icloudpd-1.19.0-macos-amd64` from the terminal again - Apple will show another warning; click "Open" -- After that you can run `icloudpd-1.18.0-macos-amd64 --help` or any other supported command/option +- After that you can run `icloudpd-1.19.0-macos-amd64 --help` or any other supported command/option ## Running on Synology NAS diff --git a/binary_dist/pyproject.toml b/binary_dist/pyproject.toml index 0ec05c43e..952319acd 100644 --- a/binary_dist/pyproject.toml +++ b/binary_dist/pyproject.toml @@ -6,7 +6,7 @@ requires = [ build-backend = "setuptools.build_meta" [project] -version="1.18.0" +version="1.19.0" name = "icloudpd" description = "icloudpd is a command-line tool to download photos and videos from iCloud." readme = "README_PYPI.md" diff --git a/pyproject.toml b/pyproject.toml index 1fa8fc282..d9ad64840 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ requires = [ build-backend = "setuptools.build_meta" [project] -version="1.18.0" +version="1.19.0" name = "icloudpd" description = "icloudpd is a command-line tool to download photos and videos from iCloud." readme = "README_PYPI.md" diff --git a/scripts/publish_pypi b/scripts/publish_pypi index 87da70370..28b64dae3 100755 --- a/scripts/publish_pypi +++ b/scripts/publish_pypi @@ -11,4 +11,4 @@ set -euo pipefail # cleint use: pip install --index http://192.168.1.20:4880 --trusted-host 192.168.1.20 icloudpd # linux -twine upload --repository-url $1 --non-interactive -u bogus -p bogus dist/icloudpd-1.18.0-py2.py3-none-manylinux*.whl dist/icloudpd-1.18.0-py2.py3-none-macos*.whl dist/icloudpd-1.18.0-py2.py3-none-win*.whl dist/icloudpd-1.18.0-py3-none-any.whl +twine upload --repository-url $1 --non-interactive -u bogus -p bogus dist/icloudpd-1.19.0-py2.py3-none-manylinux*.whl dist/icloudpd-1.19.0-py2.py3-none-macos*.whl dist/icloudpd-1.19.0-py2.py3-none-win*.whl dist/icloudpd-1.19.0-py3-none-any.whl diff --git a/src/icloudpd/base.py b/src/icloudpd/base.py index 5905d35a8..1066e1a9c 100644 --- a/src/icloudpd/base.py +++ b/src/icloudpd/base.py @@ -306,7 +306,7 @@ def raw_policy_generator(_ctx: click.Context, _param: click.Parameter, raw_polic ) # a hacky way to get proper version because automatic detection does not # work for some reason -@click.version_option(version="1.18.0") +@click.version_option(version="1.19.0") # pylint: disable-msg=too-many-arguments,too-many-statements # pylint: disable-msg=too-many-branches,too-many-locals def main(