This repository was archived by the owner on Dec 8, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # Release Process
2+
3+ ## 1. Create Release Notes
4+ 1 . [ Draft a new release on Github] ( https://github.com/prisma/graphqlgen/releases/new )
5+ 2 . ` npm install -g git-release-notes `
6+ 3 . Get the release notes from executing ` .github/make-release-notes.sh `
7+ 4 . Separate them like [ here] ( ) by Features and Fixes and add them to the draft
8+ 5 . Get feedback for the draft
9+
10+ ## 2. Publish ` graphqlgen-json-schema ` , if there was a change
11+ ``` sh
12+ cd ../graphqlgen-json-schema/
13+ yarn publish --no-git-tag-version
14+ ```
15+
16+ ## 3. Publish ` create-graphqlgen ` , if there was a change
17+ ``` sh
18+ cd ../create-graphqlgen
19+ yarn publish --no-git-tag-version
20+ ```
21+
22+ ## 4. Publish ` graphqlgen `
23+ ``` sh
24+ cd ../graphqlgen/
25+ yarn add graphqlgen-json-schema # if there was a change to graphqlgen-json-schema, add it to graphqlgen
26+ yarn publish --no-git-tag-version
27+ ```
28+ ## 5. Push the bumped versions with ` Bump to NEW_VERSION ` to github
29+
30+ ## 6. Publish the release draft on Github
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ git-release-notes 330b5098552..ab41c39c917 ./.github/release-template.ejs | pbcopy
Original file line number Diff line number Diff line change 1+ <% commits .forEach (function (commit ) { % >
2+ * < %= commit .sha1 % > < %= commit .title % >< % }) %>
3+
You can’t perform that action at this time.
0 commit comments