aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/packages
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/packages
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/packages')
-rwxr-xr-xscripts/packages/package_info_generator.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/packages/package_info_generator.sh b/scripts/packages/package_info_generator.sh
index 4d477760df..d7377b4be1 100755
--- a/scripts/packages/package_info_generator.sh
+++ b/scripts/packages/package_info_generator.sh
@@ -25,7 +25,7 @@ git_hash=
url=
built_by=
build_log=
-commit_msg=
+release_notes=
for i in "${@}"; do
while read line; do
@@ -44,8 +44,8 @@ for i in "${@}"; do
RELEASE_BUILD_LOG)
build_log="$value"
;;
- RELEASE_COMMIT_MSG)
- commit_msg="$value"
+ RELEASE_NOTES)
+ release_notes="$value"
;;
RELEASE_COMMIT_URL)
commit_url="$value"
@@ -60,7 +60,7 @@ if [ -z "${release_name}" ]; then
# Not a release
echo "# Binary package at HEAD (@$git_hash)"
else
- echo "# $commit_msg" # Make the first line the header
+ echo "# ${release_notes}" # Make the first line the header
# Subsection for environment
echo
echo "## Build informations"