Skip to content

Commit

Permalink
Update releases.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vpicone authored Jul 16, 2020
1 parent 5dab84c commit 0e31d06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/releases.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# How to publish a new theme version
> be sure to have lerna installed globally (`npm i -g lerna`)

1. Checkout `master` and `git pull upstream master`
2. Run `yarn install` to make sure you have the latest version of all the dev dependencies
2. Determine whether the release is a patch, minor (feature) or major
(breaking). You do this by looking at all of the commits since the last
release:
[https://github.com/carbon-design-system/gatsby-theme-carbon/commits/master](https://github.com/carbon-design-system/gatsby-theme-carbon/commits/master)
3. Type `lerna publish X` where `X` is `patch`, `minor`, or `major` from step 2
3. Type `yarn release X` where `X` is `patch`, `minor`, or `major` from step 2
4. `git push upstream master --follow-tags`
5. Navigate to the theme releases pages and draft a new release:
[https://github.com/carbon-design-system/gatsby-theme-carbon/releases/new](https://github.com/carbon-design-system/gatsby-theme-carbon/releases/new)
Expand Down

1 comment on commit 0e31d06

@vercel
Copy link

@vercel vercel bot commented on 0e31d06 Jul 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.