Skip to content

Commit

Permalink
Merge pull request #30 from JakobMiksch/2021-07-02-release-instruction
Browse files Browse the repository at this point in the history
Describe release process
  • Loading branch information
JakobMiksch authored Jul 26, 2021
2 parents 2503a7f + a50d51e commit 5fa6d02
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,31 @@ Then, in an other terminal, run:
npm run test
```

### Release

The release to GitHub and npm is done via [release-it](https://github.com/release-it/release-it). This is the workflow for releasing:

1. Make sure a `GITHUB_TOKEN` is available as environment varible. See [here](https://github.com/release-it/release-it/blob/master/docs/github-releases.md) for more information.

```shell
export GITHUB_TOKEN=ADD-YOUR-TOKEN-HERE
```

2. Make sure you are logged in to npm and ensure you have the rights to make a release.

```shell
npm login
# then enter your credentials
```

3. Locally checkout the latest `master` branch that you would like to release, then run:

```shell
npm run release
```

4. Follow the questions in the commandline.

### Who do I talk to? ###

* meggsimum (Christian Mayer) - info __at## meggsimum ~~dot** de
Expand Down

0 comments on commit 5fa6d02

Please sign in to comment.