Skip to content

Commit

Permalink
ci(publishing): set up separate channels for publishing to next vs re…
Browse files Browse the repository at this point in the history
…lease tags
  • Loading branch information
hydrosquall committed Jul 30, 2021
1 parent e305329 commit bd122e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .autorc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"first-time-contributor",
"released"
],
"onlyPublishWithReleaseLabel": true
"baseBranch": "stable",
"prereleaseBranches": ["next"]
}
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ Consistent formatting allows us to keep the [changelog](./CHANGELOG.md) up to da

## Publishing

Publishing is handled by a 2-branch [pre-release process](https://intuit.github.io/auto/docs/generated/shipit#next-branch-default), configured in `release.yml`. All changes should be based off of the default `next` branch. Changes are published when a `release` tag is included on the PR.
Publishing is handled by a 2-branch [pre-release process](https://intuit.github.io/auto/docs/generated/shipit#next-branch-default), configured in `release.yml`. All changes should be based off of the default `next` branch. Changes are automatically published to the `next` channel on NPM unless set to ignore via a `skip-release` Github label.


- To prevent a change from creating a release, use the `skip-release` label.
- PRs made into the default branch are deployed to the `next` pre-release tag on NPM. The result can be installed with `npm install @nteract/data-explorer@next`.
- When merging into `next`, please use the `create a merge commit` strategy. If `rebase` is used, auto won't be able to detect which PR introduced a particular set of commits..
- To release a new stable version, open a PR from `next` into `stable` using this [compare link](https://github.com/nteract/data-explorer/compare/stable...next).
- To release a new `stable` on NPM (aka the `latest` tag), open a PR from `next` into `stable` using this [compare link](https://github.com/nteract/data-explorer/compare/stable...next).
- When merging from `next` into `stable`, please use the `create a merge commit` strategy.

0 comments on commit bd122e0

Please sign in to comment.