Skip to content

Commit

Permalink
bump v.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyNikiforov committed May 28, 2024
1 parent aacb754 commit 8eb00e9
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 15 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

## 1.18.0 (2024-05-27)

- feature: add parameter `--live-photo-mov-filename-policy` to control naming of video portion of live photos with default `suffix` for compatibility [#500](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/500)
- feature: add parameter `--keep-unicode-in-filenames` with default `false` for compatibility [#845](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/845)
- fix: avoid parsing json from empty responses [#837](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/837)
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,21 +121,21 @@ scripts/build
Building platform executables:

``` sh
scripts/build_bin_linux 1.17.7 amd64
scripts/build_bin_linux 1.18.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.17.7
scripts/build_binary_dist_linux 1.18.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.17.7
scripts/build_npm 1.18.0
```
Note: that the step expects executables to be already prepared by previous steps

Expand Down
6 changes: 3 additions & 3 deletions EXPERIMENTAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ Legacy command (compatible with prior versions):

`docker run -it --rm icloudpd:icloudpd icloud --help`

`icloudpd-1.17.7-windows-amd64 --help`
`icloudpd-1.18.0-windows-amd64 --help`

Help:

`docker run -it --rm icloudpd:icloudpd`

`icloudpd-ex-1.17.7-windows-amd64 --help`
`icloudpd-ex-1.18.0-windows-amd64 --help`

Example:

`docker run -it --rm icloudpd:icloudpd copy [email protected] /path/to/{album}/{date_created:%Y/%Y-%m}`

`icloudpd-ex-1.17.7-windows-amd64 copy [email protected] /path/to/{album}/{date_created:%Y/%Y-%m}`
`icloudpd-ex-1.18.0-windows-amd64 copy [email protected] /path/to/{album}/{date_created:%Y/%Y-%m}`

10 changes: 5 additions & 5 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ 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.17.7-macos-amd64`
- start it from the terminal: `icloudpd-1.17.7-macos-amd64`
- add executable flag by running `chmod +x icloudpd-1.18.0-macos-amd64`
- start it from the terminal: `icloudpd-1.18.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.17.7-macos-amd64` as blocked app; Click "Allow"
- Start `icloudpd-1.17.7-macos-amd64` from the terminal again
- 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
- Apple will show another warning; click "Open"
- After that you can run `icloudpd-1.17.7-macos-amd64 --help` or any other supported command/option
- After that you can run `icloudpd-1.18.0-macos-amd64 --help` or any other supported command/option
2 changes: 1 addition & 1 deletion binary_dist/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ requires = [
build-backend = "setuptools.build_meta"

[project]
version="1.17.7"
version="1.18.0"
name = "icloudpd"
description = "icloudpd is a command-line tool to download photos and videos from iCloud."
readme = "README_PYPI.md"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ requires = [
build-backend = "setuptools.build_meta"

[project]
version="1.17.7"
version="1.18.0"
name = "icloudpd"
description = "icloudpd is a command-line tool to download photos and videos from iCloud."
readme = "README_PYPI.md"
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish_pypi
Original file line number Diff line number Diff line change
Expand Up @@ -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.17.7-py2.py3-none-manylinux*.whl dist/icloudpd-1.17.7-py2.py3-none-macos*.whl dist/icloudpd-1.17.7-py2.py3-none-win*.whl dist/icloudpd-1.17.7-py3-none-any.whl
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
2 changes: 1 addition & 1 deletion src/icloudpd/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def build_lp_filename_generator(_ctx: click.Context, _param: click.Parameter, lp
)
# a hacky way to get proper version because automatic detection does not
# work for some reason
@click.version_option(version="1.17.7")
@click.version_option(version="1.18.0")
# pylint: disable-msg=too-many-arguments,too-many-statements
# pylint: disable-msg=too-many-branches,too-many-locals
def main(
Expand Down

0 comments on commit 8eb00e9

Please sign in to comment.