diff --git a/CHANGELOG.md b/CHANGELOG.md index 8daa875..7f85295 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [tag]: https://gitlab.com/flrnnc-oss/docker-seafile-client/-/releases/tag +## [3.3.0] +### Modified +* Add TARGET environment variable to Makefile commands. +### Fixed +* Fix the TypeError for the skip SSL certificates parameters. + +[3.3.0]: https://gitlab.com/flrnnc-oss/docker-seafile-client/-/releases/3.3.0 + + ## [3.2.5] ### Modified diff --git a/Makefile b/Makefile index 9dc9025..f5eb721 100644 --- a/Makefile +++ b/Makefile @@ -1,24 +1,24 @@ -TARGET?=unstable +TARGET?=stable # Mocking mock: - docker compose -f tests/mock/compose.yaml up -d + TARGET=${TARGET} docker compose -f tests/mock/compose.yaml up -d unmock: - docker compose -f tests/mock/compose.yaml down + TARGET=${TARGET} docker compose -f tests/mock/compose.yaml down client: - docker compose -f tests/mock/compose.yaml rm -fs client - docker compose -f tests/mock/compose.yaml up -d client + TARGET=${TARGET} docker compose -f tests/mock/compose.yaml rm -fs client + TARGET=${TARGET} docker compose -f tests/mock/compose.yaml up -d client shell: - docker compose -f tests/mock/compose.yaml exec client bash + TARGET=${TARGET} docker compose -f tests/mock/compose.yaml exec client bash logs: - docker compose -f tests/mock/compose.yaml logs -f client + TARGET=${TARGET} docker compose -f tests/mock/compose.yaml logs -f client ps: - docker compose -f tests/mock/compose.yaml ps + TARGET=${TARGET} docker compose -f tests/mock/compose.yaml ps # Build build: diff --git a/seafile-client/entrypoint-seafile.py b/seafile-client/entrypoint-seafile.py index 495b5d6..b4ca8ec 100755 --- a/seafile-client/entrypoint-seafile.py +++ b/seafile-client/entrypoint-seafile.py @@ -150,7 +150,7 @@ class Client: def configure(self): command = self.binary + ["config"] if self.skip_ssl_cert: - subprocess.run(command +["-k", "disable_verify_certificate", "-v", self.skip_ssl_cert]) + subprocess.run(command +["-k", "disable_verify_certificate", "-v", str(self.skip_ssl_cert)]) if self.download_limit: subprocess.run(command +["-k", "download_limit", "-v", self.download_limit]) if self.upload_limit: