From 1e9e52766734ad7477ef77bff3a6b7a9134565cb Mon Sep 17 00:00:00 2001 From: Eunjae Lee Date: Wed, 22 Jan 2020 14:27:28 +0100 Subject: [PATCH] chore: release v0.14.1 (#633) * chore: release v0.14.1 * Update CHANGELOG.md --- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ lerna.json | 2 +- package.json | 4 ++-- packages/shipjs-lib/package.json | 2 +- packages/shipjs-lib/src/version.js | 2 +- packages/shipjs/package.json | 6 +++--- packages/shipjs/src/version.js | 2 +- 7 files changed, 38 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c90beff..e5464a6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/lerna.json b/lerna.json index 6500cadf..db5fdf97 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "0.14.0", + "version": "0.14.1", "npmClient": "yarn", "useWorkspaces": true } \ No newline at end of file diff --git a/package.json b/package.json index 1de72b93..c905a487 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "0.14.0", + "version": "0.14.1", "scripts": { "prepare": "yarn build", "build": "yarn workspace shipjs-lib build", @@ -28,4 +28,4 @@ "all-contributors-cli": "6.12.0", "lerna": "3.20.2" } -} +} \ No newline at end of file diff --git a/packages/shipjs-lib/package.json b/packages/shipjs-lib/package.json index d0b5010f..be6dac8d 100644 --- a/packages/shipjs-lib/package.json +++ b/packages/shipjs-lib/package.json @@ -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": { diff --git a/packages/shipjs-lib/src/version.js b/packages/shipjs-lib/src/version.js index 3a0c7fcc..7d42d47b 100644 --- a/packages/shipjs-lib/src/version.js +++ b/packages/shipjs-lib/src/version.js @@ -1 +1 @@ -export default '0.14.0'; +export default '0.14.1'; diff --git a/packages/shipjs/package.json b/packages/shipjs/package.json index 94e16885..528b9fb9 100644 --- a/packages/shipjs/package.json +++ b/packages/shipjs/package.json @@ -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": { @@ -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" }, @@ -75,4 +75,4 @@ "jest": "24.9.0", "jest-watch-typeahead": "0.4.2" } -} +} \ No newline at end of file diff --git a/packages/shipjs/src/version.js b/packages/shipjs/src/version.js index 3a0c7fcc..7d42d47b 100644 --- a/packages/shipjs/src/version.js +++ b/packages/shipjs/src/version.js @@ -1 +1 @@ -export default '0.14.0'; +export default '0.14.1';