This repository was archived by the owner on Dec 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2c3b972
commit edd6ebe
Showing
3 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Release Process | ||
|
||
## 1. Create Release Notes | ||
1. [Draft a new release on Github](https://github.com/prisma/graphqlgen/releases/new) | ||
2. `npm install -g git-release-notes` | ||
3. Get the release notes from executing `.github/make-release-notes.sh` | ||
4. Separate them like [here]() by Features and Fixes and add them to the draft | ||
5. Get feedback for the draft | ||
|
||
## 2. Publish `graphqlgen-json-schema`, if there was a change | ||
```sh | ||
cd ../graphqlgen-json-schema/ | ||
yarn publish --no-git-tag-version | ||
``` | ||
|
||
## 3. Publish `create-graphqlgen`, if there was a change | ||
```sh | ||
cd ../create-graphqlgen | ||
yarn publish --no-git-tag-version | ||
``` | ||
|
||
## 4. Publish `graphqlgen` | ||
```sh | ||
cd ../graphqlgen/ | ||
yarn add graphqlgen-json-schema # if there was a change to graphqlgen-json-schema, add it to graphqlgen | ||
yarn publish --no-git-tag-version | ||
``` | ||
## 5. Push the bumped versions with `Bump to NEW_VERSION` to github | ||
|
||
## 6. Publish the release draft on Github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
git-release-notes 330b5098552..ab41c39c917 ./.github/release-template.ejs | pbcopy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<% commits.forEach(function (commit) { %> | ||
* <%= commit.sha1 %> <%= commit.title %><% }) %> | ||
|