Skip to content

Commit

Permalink
chore: release v0.14.1 (#633)
Browse files Browse the repository at this point in the history
* chore: release v0.14.1

* Update CHANGELOG.md
  • Loading branch information
Eunjae Lee authored Jan 22, 2020
1 parent 6b5febb commit 1e9e527
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 9 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
## [0.14.1](https://github.com/algolia/shipjs/compare/v0.14.0...v0.14.1) (2020-01-22)


### Bug Fixes

* clean up all cases for releaseType ([#631](https://github.com/algolia/shipjs/issues/631)) ([89e5d73](https://github.com/algolia/shipjs/commit/89e5d732d0ac1d4d2a4750703c583ff82c450cfd))
* pass releaseTag to afterPublish hook ([#632](https://github.com/algolia/shipjs/issues/632)) ([6b5febb](https://github.com/algolia/shipjs/commit/6b5febb0d2ab8f6d375a4116a23a5821941271ac))

### `releaseType`

The following shows how `releaseType` is determined.

#### normal cases
- `1.2.3` -> `2.0.0`: `major`
- `1.2.3` -> `1.3.0`: `minor`
- `1.2.3` -> `1.2.4`: `patch`

#### next version has a tag
- `1.2.3` -> `1.2.4-alpha.0`: `prerelease`
- `1.2.4-alpha.0` -> `1.2.4-alpha.1`: `prerelease`

#### version with a tag -> version without one
- `1.2.4-alpha.0` -> `1.2.4`: `patch`
- `1.2.4-alpha.0` -> `1.2.5`: `patch`
- `1.2.4-alpha.0` -> `1.3.0`: `minor`
- `1.2.4-alpha.0` -> `2.0.0`: `major`
- `1.3.0-alpha.0` -> `1.3.0`: `minor`
Just like normal cases, the new version decides the `releaseType`.

# [0.14.0](https://github.com/algolia/shipjs/compare/v0.13.1...v0.14.0) (2020-01-14)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"packages": [
"packages/*"
],
"version": "0.14.0",
"version": "0.14.1",
"npmClient": "yarn",
"useWorkspaces": true
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.14.0",
"version": "0.14.1",
"scripts": {
"prepare": "yarn build",
"build": "yarn workspace shipjs-lib build",
Expand Down Expand Up @@ -28,4 +28,4 @@
"all-contributors-cli": "6.12.0",
"lerna": "3.20.2"
}
}
}
2 changes: 1 addition & 1 deletion packages/shipjs-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "shipjs-lib",
"version": "0.14.0",
"version": "0.14.1",
"description": "Take control of what is going to be your next release.",
"main": "dist/index.esm.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/shipjs-lib/src/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '0.14.0';
export default '0.14.1';
6 changes: 3 additions & 3 deletions packages/shipjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "shipjs",
"version": "0.14.0",
"version": "0.14.1",
"description": "Take control of what is going to be your next release.",
"main": "index.js",
"engines": {
Expand Down Expand Up @@ -55,7 +55,7 @@
"prettier": "^1.18.2",
"serialize-javascript": "^2.1.0",
"shell-quote": "^1.7.2",
"shipjs-lib": "0.14.0",
"shipjs-lib": "0.14.1",
"temp-write": "4.0.0",
"tempfile": "^3.0.0"
},
Expand All @@ -75,4 +75,4 @@
"jest": "24.9.0",
"jest-watch-typeahead": "0.4.2"
}
}
}
2 changes: 1 addition & 1 deletion packages/shipjs/src/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '0.14.0';
export default '0.14.1';

0 comments on commit 1e9e527

Please sign in to comment.