2023-09-21 17:12:47 +00:00
|
|
|
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
|
2023-09-24 22:06:10 +00:00
|
|
|
load("//lib:utils.bzl", "is_bazel_6_or_greater")
|
2023-09-29 21:42:33 +00:00
|
|
|
load("//lib:write_source_files.bzl", "write_source_files")
|
2023-01-02 00:14:48 +00:00
|
|
|
|
|
|
|
exports_files([
|
|
|
|
"create_release.sh",
|
2023-09-21 22:12:46 +00:00
|
|
|
"create_version.sh",
|
2023-01-02 00:14:48 +00:00
|
|
|
])
|
|
|
|
|
2023-09-24 22:06:10 +00:00
|
|
|
write_source_files(
|
|
|
|
name = "releases_versions_check_in",
|
|
|
|
files = {
|
2023-11-16 22:26:40 +00:00
|
|
|
"integrity.bzl": "//tools/release:release_versions",
|
2023-09-24 22:06:10 +00:00
|
|
|
},
|
|
|
|
tags = (["manual"] if not is_bazel_6_or_greater() else []),
|
2023-09-21 17:12:47 +00:00
|
|
|
)
|
2023-10-05 21:22:38 +00:00
|
|
|
|
|
|
|
bzl_library(
|
|
|
|
name = "integrity",
|
|
|
|
srcs = ["integrity.bzl"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
|
|
|
bzl_library(
|
|
|
|
name = "version",
|
|
|
|
srcs = ["version.bzl"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|