1load("@bazel_skylib//:version.bzl", "version") 2load("@rules_pkg//:pkg.bzl", "pkg_tar") 3load("@rules_pkg//releasing:defs.bzl", "print_rel_notes") 4 5package( 6 default_visibility = ["//visibility:private"], 7) 8 9# Build the artifact to put on the github release page. 10pkg_tar( 11 name = "bazel-skylib-%s" % version, 12 srcs = ["//:distribution"], 13 extension = "tar.gz", 14 mode = "0644", 15 # Make it owned by root so it does not have the uid of the CI robot. 16 owner = "0.0", 17 strip_prefix = ".", 18) 19 20print_rel_notes( 21 name = "relnotes", 22 outs = ["relnotes.txt"], 23 deps_method = "bazel_skylib_workspace", 24 repo = "bazel-skylib", 25 setup_file = ":workspace.bzl", 26 version = version, 27) 28