diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-04-07 12:31:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-04-07 12:31:30 +0000 |
commit | 0c43a8ff088598762b68e7cff0916e7fa55ffee0 (patch) | |
tree | a5641a55f0290c8d16bd9b42fa0de18ec302bd7c | |
parent | Adding upstream version 3.2.1. (diff) | |
download | pre-commit-0c43a8ff088598762b68e7cff0916e7fa55ffee0.tar.xz pre-commit-0c43a8ff088598762b68e7cff0916e7fa55ffee0.zip |
Adding upstream version 3.2.2.upstream/3.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | CHANGELOG.md | 8 | ||||
-rw-r--r-- | pre_commit/languages/swift.py | 2 | ||||
-rw-r--r-- | setup.cfg | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index dfb8f80..efd96c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +3.2.2 - 2023-04-03 +================== + +### Fixes +- Fix support for swift >= 5.8. + - #2836 PR by @edelabar. + - #2835 issue by @kgrobelny-intive. + 3.2.1 - 2023-03-25 ================== diff --git a/pre_commit/languages/swift.py b/pre_commit/languages/swift.py index 8250ab7..f16bb04 100644 --- a/pre_commit/languages/swift.py +++ b/pre_commit/languages/swift.py @@ -44,7 +44,7 @@ def install_environment( os.mkdir(envdir) cmd_output_b( 'swift', 'build', - '-C', prefix.prefix_dir, + '--package-path', prefix.prefix_dir, '-c', BUILD_CONFIG, '--build-path', os.path.join(envdir, BUILD_DIR), ) @@ -1,6 +1,6 @@ [metadata] name = pre_commit -version = 3.2.1 +version = 3.2.2 description = A framework for managing and maintaining multi-language pre-commit hooks. long_description = file: README.md long_description_content_type = text/markdown |