From de700c4a30d1d67f903b7c7f52c9a71f8b4f3bef Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Wed, 9 Mar 2022 11:05:08 +0100 Subject: [PATCH] Improve the release process (#231) --- .grenrc.yml | 21 +++++++++++++++++++++ scripts/make_release.sh | 5 ++++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 .grenrc.yml diff --git a/.grenrc.yml b/.grenrc.yml new file mode 100644 index 0000000..aa481cd --- /dev/null +++ b/.grenrc.yml @@ -0,0 +1,21 @@ +--- + dataSource: "prs" + ignoreLabels: + - "Apple M1" + - "duplicate" + - "help wanted" + - "invalid" + - "question" + - "wontfix" + onlyMilestones: false + groupBy: + "API Change": + - "API Change" + "New features / Enhancements": + - "enhancement" + - "internal" + "Bug Fixes": + - "bug" + "Misc": + - "misc" + changelogFilename: "CHANGELOG.md" diff --git a/scripts/make_release.sh b/scripts/make_release.sh index 01e85f7..25b59f9 100755 --- a/scripts/make_release.sh +++ b/scripts/make_release.sh @@ -69,4 +69,7 @@ git commit -m"Release ${GIT_TAG}" echo -e "${ACTION}Create new tag${NOCOLOR}" git tag ${GIT_TAG} -echo -e "${FINISHED}Local release is ready. Run `git push origin --tags`${NOCOLOR}" +echo -e "${FINISHED}Manual steps:${NOCOLOR}" +echo -e "${FINISHED} - Push the tag upstream 'git push origin ${GIT_TAG}'${NOCOLOR}" +echo -e "${FINISHED} - Create a new release https://github.com/google/cpu_features/releases/new${NOCOLOR}" +echo -e "${FINISHED} - Update the Release Notes 'gren release --override'${NOCOLOR}"