aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/release/BUILD
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2016-12-02 13:48:14 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-12-02 19:08:31 +0000
commit0d35261db8d4ddc43b770d5228bfd74813ad6f5f (patch)
tree18ad56fe46dbf1c63f7ff8f9cb1973509c494132 /scripts/release/BUILD
parent4a9654045a9528386f790592b7fe038a2a91e429 (diff)
Release: refactor the way we keep track of release notes
Now the release branch does not contains the release commit anymore. Instead, we regenerate the full release notes each time we have to (release candidate creation and final release). Two side effects: - The date is now showing the date of the operation and no longer the date of the release candidate (so release will be correctly dated) - The release notes show the release candidate number :) Tested: bazel test //scripts/release/... + build README.md -- Change-Id: Ia249bbdc0d6ed240bd969f24aa013f709f9a0a74 Reviewed-on: https://cr.bazel.build/7338 PiperOrigin-RevId: 140841432 MOS_MIGRATED_REVID=140841432
Diffstat (limited to 'scripts/release/BUILD')
-rw-r--r--scripts/release/BUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/release/BUILD b/scripts/release/BUILD
index a6a4ab0801..832b98ebda 100644
--- a/scripts/release/BUILD
+++ b/scripts/release/BUILD
@@ -9,7 +9,10 @@ filegroup(
sh_library(
name = "relnotes",
- srcs = ["relnotes.sh"],
+ srcs = [
+ "common.sh",
+ "relnotes.sh",
+ ],
)
sh_test(
@@ -30,7 +33,6 @@ sh_test(
sh_library(
name = "release",
srcs = [
- "common.sh",
"release.sh",
],
deps = [":relnotes"],