2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-11-25 11:32:33 +00:00
bazel-lib/tools/release/BUILD.bazel
Greg Magolan fb0677ad57
chore: cleanup before bazel-contrib handoff (#918)
* chore: clenaup before bazel-contrib handoff

* chore: apply lint fixes

---------

Co-authored-by: Alex Eagle <alex@aspect.dev>
2024-09-02 09:32:38 -07:00

41 lines
995 B
Python

load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load(":release.bzl", "multi_platform_go_binaries")
multi_platform_go_binaries(
name = "copy_to_directory",
embed = ["//tools/copy_to_directory:copy_to_directory_lib"],
tags = ["manual"],
)
multi_platform_go_binaries(
name = "copy_directory",
embed = ["//tools/copy_directory:copy_directory_lib"],
tags = ["manual"],
)
multi_platform_go_binaries(
name = "expand_template",
embed = ["//tools/expand_template:expand_template_lib"],
tags = ["manual"],
)
RELEASE_ARTIFACTS = [
":copy_directory",
":copy_to_directory",
":expand_template",
]
sh_binary(
name = "copy_release_artifacts",
srcs = ["copy_release_artifacts.sh"],
args = ["$(rlocationpaths {})".format(s) for s in RELEASE_ARTIFACTS],
data = RELEASE_ARTIFACTS,
deps = ["@bazel_tools//tools/bash/runfiles"],
)
bzl_library(
name = "hashes",
srcs = ["hashes.bzl"],
visibility = ["//visibility:public"],
)