aboutsummaryrefslogtreecommitdiff
path: root/distribution
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <arostovtsev@google.com>2022-03-10 07:41:11 -0500
committerGitHub <noreply@github.com>2022-03-10 07:41:11 -0500
commit898cd6ddffee2a29a013ae9b70411cfe0ad16268 (patch)
treeaeb7a3a98807722ae252c232aa7fae446654d81b /distribution
parent5bffd04256c07a935c884339b433ca9e1d5c9a8e (diff)
downloadbazel-skylib-898cd6ddffee2a29a013ae9b70411cfe0ad16268.tar.gz
Remove unused, empty //rules:bins filegroup, allowing us to simplify distribution/BUILD (#359)
//rules:bins has not been used since 14f17ae7f71f347b5e720fca55e33df40bc4e5d5 Alternative to https://github.com/bazelbuild/bazel-skylib/pull/358
Diffstat (limited to 'distribution')
-rw-r--r--distribution/BUILD26
1 files changed, 2 insertions, 24 deletions
diff --git a/distribution/BUILD b/distribution/BUILD
index ba903aa..8a9b1e7 100644
--- a/distribution/BUILD
+++ b/distribution/BUILD
@@ -6,37 +6,15 @@ package(
default_visibility = ["//visibility:private"],
)
-pkg_tar(
- name = "srcs",
- srcs = ["//:distribution"],
- mode = "0444",
- # Make it owned by root so it does not have the uid of the CI robot.
- owner = "0.0",
- package_dir = "",
- strip_prefix = ".",
-)
-
-pkg_tar(
- name = "bins",
- srcs = ["//:bins"],
- mode = "0555",
- # Make it owned by root so it does not have the uid of the CI robot.
- owner = "0.0",
- package_dir = "",
- strip_prefix = ".",
-)
-
# Build the artifact to put on the github release page.
pkg_tar(
name = "bazel-skylib-%s" % version,
+ srcs = ["//:distribution"],
extension = "tar.gz",
+ mode = "0644",
# Make it owned by root so it does not have the uid of the CI robot.
owner = "0.0",
strip_prefix = ".",
- deps = [
- ":bins.tar",
- ":srcs.tar",
- ],
)
print_rel_notes(