-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1867 from apiaryio/arzakhar/release-docs
chore: add release docs
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Release process | ||
|
||
- [Release reference #1](https://github.com/apiaryio/dredd/pull/1626) | ||
- [Release reference #2](https://github.com/apiaryio/dredd/pull/1862) | ||
|
||
## 1. Create a release pull request | ||
|
||
```bash | ||
$ git checkout -b <user>/dredd-14.0.0 | ||
$ npx lerna version --no-push --no-git-tag-version | ||
$ git add . | ||
$ git push -u origin <user>/dredd-14.0.0 | ||
``` | ||
|
||
## 2. Post-merge process | ||
|
||
**Once the release pull request is approved and merged**, proceed using the following instructions: | ||
|
||
```bash | ||
$ git checkout master | ||
$ git pull | ||
|
||
# Publish the packages respecting their versions from "package.json". | ||
$ npx lerna publish from-package | ||
|
||
# Tag the packages manually with the corresponding next versions. | ||
$ git tag -a -m dredd@14.0.0 dredd@14.0.0 | ||
$ git tag -a -m dredd-transactions@10.0.0 dredd-transactions@10.0.0 | ||
|
||
# Push the new tags to master. | ||
$ git push --tags | ||
``` |