diff --git a/bindown.yml b/bindown.yml index b020c69..4d22e59 100644 --- a/bindown.yml +++ b/bindown.yml @@ -1,9 +1,10 @@ systems: - darwin/amd64 + - darwin/arm64 - linux/amd64 dependencies: action-doc: - template: action-doc#action-doc + template: action-doc vars: version: 0.4.0 octo: @@ -33,12 +34,22 @@ dependencies: required_vars: - ref templates: - action-doc#action-doc: + action-doc: url: https://github.com/WillAbides/action-doc/releases/download/v{{.version}}/action-doc_{{.version}}_{{.os}}_{{.arch}}.tar.gz systems: - darwin/amd64 + - darwin/arm64 - linux/386 - linux/amd64 + overrides: + - matcher: + os: + - darwin + arch: + - arm64 + dependency: + vars: + arch: amd64 required_vars: - version origin#octo: @@ -81,22 +92,41 @@ templates: required_vars: - version origin#shellcheck: - url: https://github.com/koalaman/shellcheck/releases/download/v{{.version}}/shellcheck-v{{.version}}.{{.os}}.{{.arch}}.tar.xz - archive_path: shellcheck-v{{.version}}/shellcheck + homepage: https://www.shellcheck.net + description: ShellCheck, a static analysis tool for shell scripts + url: https://github.com/koalaman/shellcheck/releases/download/v{{.version}}/shellcheck-v{{.version}}.{{.os}}.{{.arch}}{{.urlSuffix}} + archive_path: shellcheck-v{{.version}}/shellcheck{{.archivePathSuffix}} bin: shellcheck + vars: + archivePathSuffix: "" + urlSuffix: .tar.xz overrides: - matcher: os: - windows dependency: url: https://github.com/koalaman/shellcheck/releases/download/v{{.version}}/shellcheck-v{{.version}}.zip - archive_path: shellcheck-v{{.version}}.exe + archive_path: shellcheck.exe + - matcher: + arch: + - arm64 + os: + - darwin + dependency: + substitutions: + arch: + arm64: x86_64 substitutions: arch: amd64: x86_64 + arm: armv6hf + arm64: aarch64 systems: - darwin/amd64 + - darwin/arm64 - linux/amd64 + - linux/arm + - linux/arm64 - windows/amd64 required_vars: - version @@ -138,6 +168,7 @@ url_checksums: https://github.com/koalaman/shellcheck/releases/download/v0.7.1/shellcheck-v0.7.1.linux.x86_64.tar.xz: 64f17152d96d7ec261ad3086ed42d18232fcb65148b44571b564d688269d36c8 https://github.com/kward/shunit2/archive/ebc4baa08f045b7ef0f45c4b7d6f34f08d732f3d.tar.gz: d18b23a0db5deed5b0e10a732ac1f94579ac2781ce9408d62f0e847e3fa6910b https://github.com/mvdan/sh/releases/download/v3.6.0/shfmt_v3.6.0_darwin_amd64: b8c9c025b498e2816b62f0b717f6032e9ab49e725a45b8205f52f66318f17185 + https://github.com/mvdan/sh/releases/download/v3.6.0/shfmt_v3.6.0_darwin_arm64: 633f242246ee0a866c5f5df25cbf61b6af0d5e143555aca32950059cf13d91e0 https://github.com/mvdan/sh/releases/download/v3.6.0/shfmt_v3.6.0_linux_amd64: 5741a02a641de7e56b8da170e71a97e58050d66a3cf485fb268d6a5a8bb74afb https://github.com/octo-cli/octo-cli/releases/download/v0.23.0/octo-cli_0.23.0_Darwin_x86_64.tar.gz: 1388c1ca5838a453055930035c81b231b829ef3b0511cc7765dffdd73b83d355 https://github.com/octo-cli/octo-cli/releases/download/v0.23.0/octo-cli_0.23.0_Linux_x86_64.tar.gz: 7bad6194d91bd9cd86a348dadafd7725b3bb4010afe36294df0740e8c815947a