From 6c9534c8048b4ae571440131c8d7c3c9de1886b5 Mon Sep 17 00:00:00 2001 From: Peter Somogyi Date: Fri, 10 Jul 2020 18:24:04 +0200 Subject: [PATCH] HBASE-24711 Previous RC Release notes are not removed (#2046) Signed-off-by: Viraj Jasani --- dev-support/create-release/release-util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-support/create-release/release-util.sh b/dev-support/create-release/release-util.sh index 6bec354da98..7aceeebac28 100755 --- a/dev-support/create-release/release-util.sh +++ b/dev-support/create-release/release-util.sh @@ -490,7 +490,7 @@ function update_releasenotes { "/^## Release ${jira_fix_version}/,/^## Release/ {//!d; /^## Release ${jira_fix_version}/d;}" \ "${project_dir}/CHANGES.md" || true fi - if [ -f "${project_dir}/RELEASENODES.md" ]; then + if [ -f "${project_dir}/RELEASENOTES.md" ]; then sed -i -e \ "/^# ${jira_project} ${jira_fix_version} Release Notes/,/^# ${jira_project}/{//!d; /^# ${jira_project} ${jira_fix_version} Release Notes/d;}" \ "${project_dir}/RELEASENOTES.md" || true