Skip to content

Commit 313c2e0

Browse files
committed
Fixed creation of release-notes-checklist
``release-notes-checklist`` should be created fresh each time the script is run.
1 parent 8201551 commit 313c2e0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

release.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ build_release () {
135135
generate_prs () {
136136
hub pull-request -b master -h "release-candidate" -m "Update version to $VERSION"
137137
#
138-
echo "Release $VERSION" >> release-notes-checklist
138+
echo "Release $VERSION" > release-notes-checklist
139139
echo "" >> release-notes-checklist
140140
git-release-notes v$OLD_VERSION..master $SCRIPT_DIR/util/release_notes.ejs >> release-notes-checklist
141141
hub pull-request -b release -h "release-candidate" -F release-notes-checklist
@@ -150,6 +150,7 @@ main () {
150150
update_release_notes
151151
build_release
152152
generate_prs
153+
echo "version $OLD_VERSION has been updated to $VERSION"
153154
echo "Go tell engineers to check their work. PR is on the repo."
154155
echo "After they are done, run the next script."
155156
}
@@ -158,5 +159,7 @@ main () {
158159
# Next script:
159160
# - tag build
160161
# - push tags
162+
# - merge release-candidate to release
163+
# - merge release to master
161164

162165
main

0 commit comments

Comments
 (0)