aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/release/BUILD
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2015-07-28 15:54:40 +0000
committerGravatar Lukacs Berki <lberki@google.com>2015-07-29 16:00:00 +0000
commitfa15d3983b4616516c350bb633335d2f27b9a674 (patch)
tree8c04112ece7967c24b5e98699f9165b770ec1221 /scripts/release/BUILD
parente4d848233ac333887202d9acfd6ab97d73c92f9f (diff)
Bazel release process scripts
Those scripts are made to handle the soon to be Bazel release process. It is still missing the CI part that deploys built artifacts and sends announcement mails. It uses the RELNOTES: tag (RELNOTES for a simple change, RELNOTES[NEW] for a new feature, RELNOTES[INC] for an incompatible change) to create the CHANGELOG.md file. The main entry point is scripts/release/release.sh and should be the only script called directly. -- Change-Id: I6e066fda4d862ce793cc03dc8bdf0b8cb34f7c2c Reviewed-on: https://bazel-review.googlesource.com/#/c/1580/ MOS_MIGRATED_REVID=99282250
Diffstat (limited to 'scripts/release/BUILD')
-rw-r--r--scripts/release/BUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/release/BUILD b/scripts/release/BUILD
index b2fb039097..7ccd9d5596 100644
--- a/scripts/release/BUILD
+++ b/scripts/release/BUILD
@@ -20,3 +20,24 @@ sh_test(
":relnotes",
],
)
+
+sh_library(
+ name = "release",
+ srcs = [
+ "common.sh",
+ "release.sh",
+ ],
+ deps = [":relnotes"],
+)
+
+sh_test(
+ name = "release_test",
+ srcs = ["release_test.sh"],
+ data = [
+ "testenv.sh",
+ "//:git",
+ "//src/test/shell:bashunit",
+ ],
+ tags = ["need_git"],
+ deps = [":release"],
+)