You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by vb...@apache.org on 2019/09/13 21:00:42 UTC
[incubator-hudi] branch release-0.5.0 updated: [HUDI-121] ASF
Release : Ensure NOTICE.txt is generated as part of cutting release branch
This is an automated email from the ASF dual-hosted git repository.
vbalaji pushed a commit to branch release-0.5.0
in repository https://gitbox.apache.org/repos/asf/incubator-hudi.git
The following commit(s) were added to refs/heads/release-0.5.0 by this push:
new 26966c5 [HUDI-121] ASF Release : Ensure NOTICE.txt is generated as part of cutting release branch
26966c5 is described below
commit 26966c54ac34f5987ac5ec33141c1579189805e8
Author: Balaji Varadarajan <va...@uber.com>
AuthorDate: Fri Sep 13 13:58:29 2019 -0700
[HUDI-121] ASF Release : Ensure NOTICE.txt is generated as part of cutting release branch
---
RELEASE_NOTES.md | 2 +-
release/scripts/cut_release_branch.sh | 27 ++++++++++++++++++++++++++-
2 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 25bdd0c..45cf4db 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -8,10 +8,10 @@ Release 0.5.0-incubating
* Bug fixes in query side integration, hive-sync, deltaStreamer, compaction, rollbacks, restore
### Full PR List
+ * **Balaji Varadarajan** [HUDI-249] Update Release-notes. Add sign-artifacts to POM and release related scripts. Add missing license headers and update NOTICE.txt files
* **Vinoth Chandar** [HUDI-244] : Hive sync should escape partition field name - now supports field names beginning with '_' for e.g
* **Balaji Varadarajan** [HUDI-250] Ensure Hudi CLI wrapper works with non snapshot jars too
* **Nishith Agarwal** [HUDI-235] Fix scheduled compaction rollback in restore command
- * **Balaji Varadarajan** [HUDI-249] Update Release-notes. Add sign-artifacts to POM and release related scripts. Add missing license headers
* **yanghua** [HUDI-217] Provide a unified resource management class to standardize the resource allocation and release for hudi client test cases
* **Bhavani Sudha Saktheeswaran** [HUDI-164] Fixes incorrect averageBytesPerRecord
* **Balaji Varadarajan** [HUDI-243] Rename HoodieInputFormat and HoodieRealtimeInputFormat to HoodieParquetInputFormat and HoodieParquetRealtimeInputFormat
diff --git a/release/scripts/cut_release_branch.sh b/release/scripts/cut_release_branch.sh
index 48d62f7..7d506fb 100755
--- a/release/scripts/cut_release_branch.sh
+++ b/release/scripts/cut_release_branch.sh
@@ -79,7 +79,32 @@ cd ${LOCAL_CLONE_DIR}
git clone ${GITHUB_REPO_URL}
cd ${HUDI_ROOT_DIR}
-# Create local release branch
+# Update Notice.txt
+mvn notice:generate
+
+echo "==============Update NOTICE.txt in master branch as following================"
+git diff
+echo "==============================================================="
+
+echo "Please make sure all changes above are expected. Do you confirm to commit?: [y|N]"
+read confirmation
+if [[ $confirmation != "y" ]]; then
+ echo "Exit without committing any changes on master branch."
+ clean_up
+ exit
+fi
+
+git commit -am "Updating NOTICE.txt in master" --allow-empty
+
+# Pushing NOTICE.txt changes to master
+if git push origin ${MASTER_BRANCH}; then
+ break
+else
+ clean_up
+ exit
+fi
+
+# Now, create local release branch
git branch ${RELEASE_BRANCH}
git checkout ${MASTER_BRANCH}