From 0e01bf11b32b07b5acd673a42a6bf312035db645 Mon Sep 17 00:00:00 2001 From: Steve Coffman Date: Mon, 24 Jan 2022 19:54:57 -0500 Subject: [PATCH] =?UTF-8?q?Revise=20to=20use=20script=20=F0=9F=A4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Steve Coffman --- RELEASE-CHECKLIST.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/RELEASE-CHECKLIST.md b/RELEASE-CHECKLIST.md index fc2b8732eb6..86c2f3776fc 100644 --- a/RELEASE-CHECKLIST.md +++ b/RELEASE-CHECKLIST.md @@ -1,15 +1,14 @@ # When gqlgen gets released, the following things need to happen Assuming the next version is $NEW_VERSION=v0.16.0 or something like that. -1. Update https://github.com/99designs/gqlgen/blob/master/graphql/version.go#L3 -2. Update https://github.com/99designs/gqlgen/blob/master/docs/build.sh#L13 -4. git commit and push those file changes to master -3. git tag -a $NEW_VERSION -m $NEW_VERSION -4. git push origin $NEW_VERSION -5. git-chglog -o CHANGELOG.md -6. git commit and push the CHANGELOG.md -7. https://github.com/99designs/gqlgen/releases and draft new release, autogenerate the release notes, and Create a discussion for this release -8. Comment on the release discussion with any really important notes (breaking changes) +1. Run the https://github.com/99designs/gqlgen/blob/master/bin/release: +``` +./bin/release $NEW_VERSION +``` +2. git-chglog -o CHANGELOG.md +3. git commit and push the CHANGELOG.md +4. Go to https://github.com/99designs/gqlgen/releases and draft new release, autogenerate the release notes, and Create a discussion for this release +5. Comment on the release discussion with any really important notes (breaking changes) I used https://github.com/git-chglog/git-chglog to automate the changelog maintenance process for now. We could just as easily use go releaser to make the whole thing automated.