diff --git a/drone-cli/BUILD b/drone-cli/BUILD index aa9eb79..749cc95 100644 --- a/drone-cli/BUILD +++ b/drone-cli/BUILD @@ -3,7 +3,7 @@ alias( actual = select({ "@com_github_danmx_bazel_tools//bazel/platforms:linux-x86_64": "@drone-linux-amd64//:drone", "@com_github_danmx_bazel_tools//bazel/platforms:macos-x86_64": "@drone-darwin-amd64//:drone", - "@com_github_danmx_bazel_tools//bazel/platforms:windows-x86_64": "@drone-windows-amd64//:drone", + "@com_github_danmx_bazel_tools//bazel/platforms:windows-x86_64": "@drone-windows-amd64//:drone.exe", }), visibility = ["//visibility:public"], ) diff --git a/drone-cli/deps.bzl b/drone-cli/deps.bzl index e4c9b1e..7dd04f6 100644 --- a/drone-cli/deps.bzl +++ b/drone-cli/deps.bzl @@ -17,5 +17,5 @@ def drone_cli_dependencies(): name = "drone-windows-amd64", urls = ["https://github.com/drone/drone-cli/releases/download/v1.2.2/drone_windows_amd64.tar.gz"], sha256 = "8ae9bb0b07ced2536cc8c8c0e236d1d8ae08b53387e1139a470e2cd37076a3ca", - build_file = "@com_github_danmx_bazel_tools//drone-cli:drone.BUILD", + build_file = "@com_github_danmx_bazel_tools//drone-cli:drone_windows.BUILD", ) diff --git a/drone-cli/drone_windows.BUILD b/drone-cli/drone_windows.BUILD new file mode 100644 index 0000000..371f01c --- /dev/null +++ b/drone-cli/drone_windows.BUILD @@ -0,0 +1,4 @@ +exports_files( + ["drone.exe"], + visibility = ["//visibility:public"], +) diff --git a/golangci-lint/BUILD b/golangci-lint/BUILD index ea81bcf..6dd6033 100644 --- a/golangci-lint/BUILD +++ b/golangci-lint/BUILD @@ -3,7 +3,7 @@ alias( actual = select({ "@com_github_danmx_bazel_tools//bazel/platforms:linux-x86_64": "@golangci-lint-linux-amd64//:golangci-lint", "@com_github_danmx_bazel_tools//bazel/platforms:macos-x86_64": "@golangci-lint-darwin-amd64//:golangci-lint", - "@com_github_danmx_bazel_tools//bazel/platforms:windows-x86_64": "@golangci-lint-windows-amd64//:golangci-lint", + "@com_github_danmx_bazel_tools//bazel/platforms:windows-x86_64": "@golangci-lint-windows-amd64//:golangci-lint.exe", }), visibility = ["//visibility:public"], ) diff --git a/golangci-lint/deps.bzl b/golangci-lint/deps.bzl index d304175..492910b 100644 --- a/golangci-lint/deps.bzl +++ b/golangci-lint/deps.bzl @@ -17,8 +17,8 @@ def golangci_lint_dependencies(): ) http_archive( name = "golangci-lint-windows-amd64", - urls = ["https://github.com/golangci/golangci-lint/releases/download/v1.31.0/golangci-lint-1.31.0-windows-amd64.tar.gz"], - sha256 = "6ce6b1d3207a63256d82fbbac80bb9e85d7705ec1a408f005dfe324457c54966", - build_file = "@com_github_danmx_bazel_tools//golangci-lint:golangci-lint.BUILD", - strip_prefix = "golangci-lint-1.31.0-windows-amd64", + urls = ["https://github.com/golangci/golangci-lint/releases/download/v1.32.0/golangci-lint-1.32.0-windows-amd64.zip"], + sha256 = "97a69c2a153cd4285b7000b327aa6e77b694534e7463cbd1b77481c22b6113cf", + build_file = "@com_github_danmx_bazel_tools//golangci-lint:golangci-lint_windows.BUILD", + strip_prefix = "golangci-lint-1.32.0-windows-amd64", ) diff --git a/golangci-lint/golangci-lint_windows.BUILD b/golangci-lint/golangci-lint_windows.BUILD new file mode 100644 index 0000000..35c8161 --- /dev/null +++ b/golangci-lint/golangci-lint_windows.BUILD @@ -0,0 +1,4 @@ +exports_files( + ["golangci-lint.exe"], + visibility = ["//visibility:public"], +)