Skip to content

Commit 4e2fe99

Browse files
committed
pick v6.7.2 and add release-it
1 parent bac5db0 commit 4e2fe99

File tree

5 files changed

+987
-105
lines changed

5 files changed

+987
-105
lines changed

.release-it.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"plugins": {
3+
"release-it-lerna-changelog": {
4+
"infile": "CHANGELOG.md"
5+
}
6+
},
7+
"git": {
8+
"tagName": "v${version}"
9+
},
10+
"npm": {
11+
"publish": true
12+
},
13+
"github": {
14+
"release": true
15+
}
16+
}

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# Changelog
1+
## v6.7.2 (2019-11-03)
2+
3+
#### :bug: Bug Fix
4+
* [#372](https://github.com/ember-cli/ember-fetch/pull/372) fix: throwing w/ fresh ember-cli-fastboot serve ([@xg-wang]
5+
g-wang))
6+
7+
#### Committers: 1
8+
- Thomas Wang ([@xg-wang](https://github.com/xg-wang))
29

310
## v6.7.1 (2019-09-12)
411

RELEASE.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Release
2+
3+
Releases are mostly automated using
4+
[release-it](https://github.com/release-it/release-it/) and
5+
[lerna-changelog](https://github.com/lerna/lerna-changelog/).
6+
7+
8+
## Preparation
9+
10+
Since the majority of the actual release process is automated, the primary
11+
remaining task prior to releasing is confirming that all pull requests that
12+
have been merged since the last release have been labeled with the appropriate
13+
`lerna-changelog` labels and the titles have been updated to ensure they
14+
represent something that would make sense to our users. Some great information
15+
on why this is important can be found at
16+
[keepachangelog.com](https://keepachangelog.com/en/1.0.0/), but the overall
17+
guiding principles here is that changelogs are for humans, not machines.
18+
19+
When reviewing merged PR's the labels to be used are:
20+
21+
* breaking - Used when the PR is considered a breaking change.
22+
* enhancement - Used when the PR adds a new feature or enhancement.
23+
* bug - Used when the PR fixes a bug included in a previous release.
24+
* documentation - Used when the PR adds or updates documentation.
25+
* internal - Used for internal changes that still require a mention in the
26+
changelog/release notes.
27+
28+
29+
## Release
30+
31+
Once the prep work is completed, the actual release is straight forward:
32+
33+
```
34+
yarn install
35+
yarn release
36+
```
37+
38+
The `release` script leverages
39+
[release-it](https://github.com/release-it/release-it/) to do the mechanical
40+
release process. It will prompt you through the process of choosing the version
41+
number, tagging, pushing the tag and commits, etc.
42+

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ember-fetch",
3-
"version": "6.7.1",
3+
"version": "6.7.2",
44
"description": "HTML5 Fetch polyfill (as an ember-addon)",
55
"typings": "./index.d.ts",
66
"keywords": [
@@ -15,6 +15,7 @@
1515
"scripts": {
1616
"build": "ember build",
1717
"changelog": "lerna-changelog",
18+
"release": "release-it",
1819
"lint:js": "eslint . --cache",
1920
"start": "ember serve",
2021
"test": "ember test",
@@ -64,7 +65,6 @@
6465
"ember-cli-inject-live-reload": "^2.0.1",
6566
"ember-cli-pretender": "^3.2.0",
6667
"ember-cli-qunit": "^4.3.2",
67-
"ember-cli-release": "^0.2.9",
6868
"ember-cli-typescript-blueprints": "^2.0.0",
6969
"ember-cli-uglify": "^3.0.0",
7070
"ember-data": "~3.14.0",
@@ -83,6 +83,8 @@
8383
"lerna-changelog": "^0.8.3",
8484
"loader.js": "^4.2.3",
8585
"mocha": "^6.1.4",
86+
"release-it": "^12.4.3",
87+
"release-it-lerna-changelog": "^1.0.3",
8688
"typescript": "^3.7.2"
8789
},
8890
"resolutions": {

0 commit comments

Comments
 (0)