Skip to content
This repository was archived by the owner on Sep 14, 2020. It is now read-only.

Commit

Permalink
Add instructions for the release workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Aufreiter committed Jul 17, 2017
1 parent 433effa commit 85710a6
Showing 1 changed file with 44 additions and 1 deletion.
45 changes: 44 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,51 @@ $ npm install
$ npm start
```

Package the application:
### Release workflow

Try out the release before npm publishing using local npm installs.

Have all projects (stencila, stencila-node, stencila-desktop) side by side.

```bash
$ cd stencila
$ npm install
$ node make
```

```bash
$ cd stencila-node
$ npm install ../stencila
```

```bash
$ cd stencila-desktop
$ npm install ../stencila-node
$ npm start
```

2. Do some testing and if it looks good we can publish the individual packages:

Bump Stencila version in `package.json` and npm publish.

```bash
$ cd stencila
$ npm publish
```

Update the Stencila dependency and bump version of stencila-node in `package.json` and npm publish.

```bash
$ cd stencila-node
$ npm publish
```

Update the stencila-node dependency and bump version of stencila-desktop in `package.json`.

Now make a release bundle for each platform (OSX, Linux, Windows)

```bash
$ npm run release
```

Create a release on Github (using a new release tag) and upload the app packages for all platforms.

0 comments on commit 85710a6

Please sign in to comment.