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.