Skip to content

Commit

Permalink
Merge pull request #431 from desktop/update-doc-for-release-clarifica…
Browse files Browse the repository at this point in the history
…tion

Update releases.md with notes about releasing and publishing
  • Loading branch information
tidy-dev authored Mar 9, 2021
2 parents 1722938 + a0d96ce commit df2d8dd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ If you don't want the latest dugite-native release for some reason, you can edit
const url = `https://api.github.com/repos/desktop/dugite-native/releases/23544533`
```

## Release/Publishing
Before running the commands in 'Publishing to NPM',
create a new release branch of the form `releases/x.x.x`

After running commands in 'Publishing to NPM', the release branch should be pushed. Now, you need to get it reviewed and merged.

After that, don't forget publish the release on the repo.
- Go to https://github.com/desktop/dugite/releases
- Click click `Draft a New Release`
- Fill in form
- Hit `Publish release`

## Publishing to NPM

Releases are done to NPM, and are currently limited to the core team.
Expand All @@ -38,3 +50,4 @@ npm version minor
# this will also run `git push --follow-tags` at the end
npm publish
```

0 comments on commit df2d8dd

Please sign in to comment.