aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/release/relnotes_test.sh
Commit message (Collapse)AuthorAge
* Release notes: correctly strip out none, n/a, noGravatar Damien Martin-Guillerez2017-10-18
| | | | | | | | | | | | | | The previous regex was only matching lines and was not even correctly doing so. We no match everything that is starting with none, n/a or no as a sentence or as a full line. We also match empty string and '.' as a full line. RELNOTES: . RELNOTES: None. RELNOTES: No. Change-Id: I6e85627170ce35e652c90a37e735b7db93c88b4e PiperOrigin-RevId: 172452278
* Ensure that the release notes are not empty if there is no rollbackGravatar Damien Martin-Guillerez2017-10-16
| | | | | | | | | | Because the empty list was returned for the list of hashes to ignore, we matching all the lines in the following grep. By adding a dummy hashes, it ensure that list is never empty and we thus never give a match all pattern. Change-Id: Ic5446c16b56633805e61b24ad71b67029a7b01e3 PiperOrigin-RevId: 172321625
* Release notes test small fixesGravatar Damien Martin-Guillerez2017-10-16
| | | | | | | | - Avoid trap being called when grep is not matching (|| true) - Ensure we always start in master branch Change-Id: I7a71abbdfae7dc2b9680e769ed0322a6a12221dc PiperOrigin-RevId: 172316454
* Do not put PiperOrigin-RevId tag into relnotesGravatar Marcel Hlopko2017-05-04
| | | | | Change-Id: If79da71d2939517724d92cbe470173b5d68e3019 PiperOrigin-RevId: 155075510
* Fix release scripts by using full hash everywhereGravatar Damien Martin-Guillerez2017-01-26
| | | | | | | | | | | | | Previously we were using short hash for rendering to the user but our repository as grown and on some configuration of git the short hash size has increased. To be future-proof, just remove all usage of short hash and use full hash instead. Fixes #2429. -- PiperOrigin-RevId: 145667804 MOS_MIGRATED_REVID=145667804
* Release: refactor the way we keep track of release notesGravatar Damien Martin-Guillerez2016-12-02
| | | | | | | | | | | | | | | | | | | 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
* Add a "Cherry picks" line to the release notesGravatar Kristina Chodorow2016-04-22
| | | | | | | | I was confused about the bulleted list on 0.2.2, so I figured it would be nice tell people what the commit list is. -- MOS_MIGRATED_REVID=120577721
* [release] Truncate git hash to 7 charactersGravatar Damien Martin-Guillerez2015-10-08
| | | | | | | | With that change, all the git hash will have the same length in the release notes, even when specifying the full commit hash. -- MOS_MIGRATED_REVID=104861463
* Rationalize copyright headersGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | | | | | The headers were modified with `find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'` And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan. The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand. -- MOS_MIGRATED_REVID=103938715
* Fix word wrapping determinism on BSD / LinuxGravatar Damien Martin-Guillerez2015-08-27
| | | | | | | | | | fmt behaves totally differently depending on the version and on the OS, use fold instead that has a consistent behaviour accross platform. Tested with bazel test //scripts/release/... on OSX and Linux. -- MOS_MIGRATED_REVID=101567574
* Bazel release notes creationGravatar Damien Martin-Guillerez2015-07-27
This script 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. -- Change-Id: If457a0a85f4a9ceddf822393d0aeb8b60c54136b Reviewed-on: https://bazel-review.googlesource.com/#/c/1583/ MOS_MIGRATED_REVID=99020942