Skip to content

Commit 93b6674

Browse files
authored
Merge pull request #35 from scop/renovate/mvdan-sh-3.x
chore(deps): update mvdan/sh to v3.12.0
2 parents 5c04180 + 077a7ed commit 93b6674

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

.pre-commit-hooks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
description: Shell source code formatter (build from source)
1515
language: golang
1616
# Note: keep Go version in `go.mod` in sync with shfmt's required Go version
17-
additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@v3.11.0]
17+
additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@v3.12.0]
1818
entry: shfmt
1919
args: [-w, -s]
2020
types: [shell]
@@ -27,7 +27,7 @@
2727
description: Shell source code formatter (Docker image)
2828
language: docker_image
2929
# Note: use the top level multiplatform image digest here
30-
entry: --net none mvdan/shfmt:v3.11.0@sha256:9c6f228b50928e4b174d13da1b10adacd7bbb50796527f58a85ea18e155e0806
30+
entry: --net none mvdan/shfmt:v3.12.0@sha256:307d265ffd25ce832899ae17c93ed5062fc3375c514bba8f52cbf52792735c4d
3131
args: [-w, -s]
3232
types: [shell]
3333
exclude_types: [csh, tcsh, zsh]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Usage in `.pre-commit-config.yaml`:
77

88
```yaml
99
- repo: https://github.com/scop/pre-commit-shfmt
10-
rev: v3.11.0-1
10+
rev: v3.12.0-1
1111
hooks:
1212
# Choose one of:
1313
- id: shfmt # prebuilt upstream executable

setup.cfg

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = shfmt_py
3-
version = 3.11.0-1
3+
version = 3.12.0-1
44
description = Shell source code formatter
55
url = https://github.com/scop/pre-commit-shfmt
66
# license here is for shfmt proper; Python packaging related files may have others, see their contents and classifiers below
@@ -28,47 +28,47 @@ download_scripts =
2828
[shfmt]
2929
group = shfmt-binary
3030
marker = sys_platform == "darwin" and platform_machine == "x86_64"
31-
url = https://github.com/mvdan/sh/releases/download/v3.11.0/shfmt_v3.11.0_darwin_amd64
32-
sha256 = 810a76cb7c78351e021c8025f344b12149d8426ce51609a179af68109ed5698e
31+
url = https://github.com/mvdan/sh/releases/download/v3.12.0/shfmt_v3.12.0_darwin_amd64
32+
sha256 = c31548693de6584e6164b7ed5fbb7b4a083f2d937ca94b4e0ddf59aa461a85e4
3333
[shfmt]
3434
group = shfmt-binary
3535
marker = sys_platform == "darwin" and platform_machine == "arm64"
36-
url = https://github.com/mvdan/sh/releases/download/v3.11.0/shfmt_v3.11.0_darwin_arm64
37-
sha256 = af206d234dff5d05d9ac355529b2b33a7a78e13fab9b59db777746aab3e72530
36+
url = https://github.com/mvdan/sh/releases/download/v3.12.0/shfmt_v3.12.0_darwin_arm64
37+
sha256 = d903802e0ce3ecbc82b98512f55ba370b0d37a93f3f78de394f5b657052b33dd
3838
[shfmt]
3939
group = shfmt-binary
4040
# TODO: verify i386
4141
marker = sys_platform == "linux" and platform_machine == "i386"
4242
marker = sys_platform == "linux" and platform_machine == "i686"
43-
url = https://github.com/mvdan/sh/releases/download/v3.11.0/shfmt_v3.11.0_linux_386
44-
sha256 = 4bd973b2146dbb49a1aff9c16a782b0adeec974728ac063ac793f884f6a951f7
43+
url = https://github.com/mvdan/sh/releases/download/v3.12.0/shfmt_v3.12.0_linux_386
44+
sha256 = 6b67da16834a215cc8c565bfbcfaa0303809456d8cafad28cb2eeea35a88904d
4545
[shfmt]
4646
group = shfmt-binary
4747
marker = sys_platform == "linux" and platform_machine == "x86_64"
48-
url = https://github.com/mvdan/sh/releases/download/v3.11.0/shfmt_v3.11.0_linux_amd64
49-
sha256 = 1904ec6bac715c1d05cd7f6612eec8f67a625c3749cb327e5bfb4127d09035ff
48+
url = https://github.com/mvdan/sh/releases/download/v3.12.0/shfmt_v3.12.0_linux_amd64
49+
sha256 = d9fbb2a9c33d13f47e7618cf362a914d029d02a6df124064fff04fd688a745ea
5050
[shfmt]
5151
group = shfmt-binary
5252
# TODO: verify armv6hf
5353
marker = sys_platform == "linux" and platform_machine == "armv6hf"
5454
marker = sys_platform == "linux" and platform_machine == "armv7l"
55-
url = https://github.com/mvdan/sh/releases/download/v3.11.0/shfmt_v3.11.0_linux_arm
56-
sha256 = 00a243112f22a94594a82cb9399b086cf51441e3d9fef98b1203d633863506ed
55+
url = https://github.com/mvdan/sh/releases/download/v3.12.0/shfmt_v3.12.0_linux_arm
56+
sha256 = a93c1ed5be25ce9dd0fd62c4cf0af7453740d234725877b973e6c6a8c7598500
5757
[shfmt]
5858
group = shfmt-binary
5959
marker = sys_platform == "linux" and platform_machine == "aarch64"
60-
url = https://github.com/mvdan/sh/releases/download/v3.11.0/shfmt_v3.11.0_linux_arm64
61-
sha256 = b3976121710fd4b12bf641b0a7fb2686da598fb0da9f148c641b61b54cfa3407
60+
url = https://github.com/mvdan/sh/releases/download/v3.12.0/shfmt_v3.12.0_linux_arm64
61+
sha256 = 5f3fe3fa6a9f766e6a182ba79a94bef8afedafc57db0b1ad32b0f67fae971ba4
6262
[shfmt.exe]
6363
group = shfmt-binary
6464
# TODO: verify both
6565
marker = sys_platform == "win32" and platform_machine == "x86"
6666
marker = sys_platform == "cygwin" and platform_machine == "i386"
67-
url = https://github.com/mvdan/sh/releases/download/v3.11.0/shfmt_v3.11.0_windows_386.exe
68-
sha256 = facfb70de36cc3b15d59938fd840d6eaa8dc5446767f043265038a49eb719ec7
67+
url = https://github.com/mvdan/sh/releases/download/v3.12.0/shfmt_v3.12.0_windows_386.exe
68+
sha256 = 92c1ef0af344a10f2cefe3ce4bc6793ae8b3719ac08fc01802bbd8eae105e534
6969
[shfmt.exe]
7070
group = shfmt-binary
7171
marker = sys_platform == "win32" and platform_machine == "AMD64"
7272
marker = sys_platform == "cygwin" and platform_machine == "x86_64"
73-
url = https://github.com/mvdan/sh/releases/download/v3.11.0/shfmt_v3.11.0_windows_amd64.exe
74-
sha256 = d11a0880588304496065110cb67ce2375cfcd5433e76dec505ce1fa21adf47cc
73+
url = https://github.com/mvdan/sh/releases/download/v3.12.0/shfmt_v3.12.0_windows_amd64.exe
74+
sha256 = c8bda517ba1c640ce4a715c0fa665439ddbe4357ba5e9b77b0e51e70e2b9c94b

0 commit comments

Comments
 (0)