Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Commit

Permalink
add RELEASE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Jan 10, 2019
1 parent 2c3b972 commit edd6ebe
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/RELEASE.md
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
2 changes: 2 additions & 0 deletions .github/make-release-notes.sh
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
3 changes: 3 additions & 0 deletions .github/release-template.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<% commits.forEach(function (commit) { %>
* <%= commit.sha1 %> <%= commit.title %><% }) %>

0 comments on commit edd6ebe

Please sign in to comment.