semantic-release 17.3.3 → 17.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -11
- package/package.json +30 -24
package/README.md
CHANGED
|
@@ -4,14 +4,8 @@
|
|
|
4
4
|
<a href="https://spectrum.chat/semantic-release">
|
|
5
5
|
<img alt="Join the community on Spectrum" src="https://withspectrum.github.io/badge/badge.svg">
|
|
6
6
|
</a>
|
|
7
|
-
<a href="https://
|
|
8
|
-
<img alt="
|
|
9
|
-
</a>
|
|
10
|
-
<a href="https://codecov.io/gh/semantic-release/semantic-release">
|
|
11
|
-
<img alt="Codecov" src="https://img.shields.io/codecov/c/github/semantic-release/semantic-release/master.svg">
|
|
12
|
-
</a>
|
|
13
|
-
<a href="https://greenkeeper.io">
|
|
14
|
-
<img alt="Greenkeeper" src="https://badges.greenkeeper.io/semantic-release/semantic-release.svg">
|
|
7
|
+
<a href="https://github.com/semantic-release/semantic-release/actions?query=workflow%3ATest+branch%3Amaster">
|
|
8
|
+
<img alt="Build states" src="https://github.com/semantic-release/semantic-release/workflows/Test/badge.svg">
|
|
15
9
|
</a>
|
|
16
10
|
<a href="#badge">
|
|
17
11
|
<img alt="semantic-release" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg">
|
|
@@ -61,7 +55,7 @@ Tools such as [commitizen](https://github.com/commitizen/cz-cli) or [commitlint]
|
|
|
61
55
|
Here is an example of the release type that will be done based on a commit messages:
|
|
62
56
|
|
|
63
57
|
| Commit message | Release type |
|
|
64
|
-
|
|
58
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------- |
|
|
65
59
|
| `fix(pencil): stop graphite breaking when too much pressure applied` | Patch Release |
|
|
66
60
|
| `feat(pencil): add 'graphiteWidth' option` | ~~Minor~~ Feature Release |
|
|
67
61
|
| `perf(pencil): remove graphiteWidth option`<br><br>`BREAKING CHANGE: The graphiteWidth option has been removed.`<br>`The default graphite width of 10mm is always used for performance reasons.` | ~~Major~~ Breaking Release |
|
|
@@ -75,6 +69,7 @@ Here is an example of the release type that will be done based on a commit messa
|
|
|
75
69
|
For each new commits added to one of the release branches (for example `master`, `next`, `beta`), with `git push` or by merging a pull request or merging from another branch, a CI build is triggered and runs the `semantic-release` command to make a release if there are codebase changes since the last release that affect the package functionalities.
|
|
76
70
|
|
|
77
71
|
**semantic-release** offers various ways to control the timing, the content and the audience of published releases. See example workflows in the following recipes:
|
|
72
|
+
|
|
78
73
|
- [Using distribution channels](docs/recipes/distribution-channels.md#publishing-on-distribution-channels)
|
|
79
74
|
- [Maintenance releases](docs/recipes/maintenance-releases.md#publishing-maintenance-releases)
|
|
80
75
|
- [Pre-releases](docs/recipes/pre-releases.md#publishing-pre-releases)
|
|
@@ -84,7 +79,7 @@ For each new commits added to one of the release branches (for example `master`,
|
|
|
84
79
|
After running the tests, the command `semantic-release` will execute the following steps:
|
|
85
80
|
|
|
86
81
|
| Step | Description |
|
|
87
|
-
|
|
82
|
+
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------- |
|
|
88
83
|
| Verify Conditions | Verify all the conditions to proceed with the release. |
|
|
89
84
|
| Get last release | Obtain the commit corresponding to the last release by analyzing [Git tags](https://git-scm.com/book/en/v2/Git-Basics-Tagging). |
|
|
90
85
|
| Analyze commits | Determine the type of release based on the commits added since the last release. |
|
|
@@ -98,6 +93,7 @@ After running the tests, the command `semantic-release` will execute the followi
|
|
|
98
93
|
## Requirements
|
|
99
94
|
|
|
100
95
|
In order to use **semantic-release** you need:
|
|
96
|
+
|
|
101
97
|
- To host your code in a [Git repository](https://git-scm.com)
|
|
102
98
|
- Use a Continuous Integration service that allows you to [securely set up credentials](docs/usage/ci-configuration.md#authentication)
|
|
103
99
|
- Git CLI version [2.7.1 or higher](docs/support/FAQ.md#why-does-semantic-release-require-git-version--271) installed in your Continuous Integration environment
|
|
@@ -160,7 +156,6 @@ Let people know that your package is published using **semantic-release** by inc
|
|
|
160
156
|
| ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
161
157
|
| [Stephan Bönnemann](https://github.com/boennemann) | [Rolf Erik Lekang](https://github.com/relekang) | [Johannes Jörg Schmidt](https://github.com/jo) | [Finn Pauls](https://github.com/finnp) | [Christoph Witzko](https://github.com/christophwitzko) |
|
|
162
158
|
|
|
163
|
-
|
|
164
159
|
<p align="center">
|
|
165
160
|
<img alt="Kill all humans" src="media/bender.png">
|
|
166
161
|
</p>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "semantic-release",
|
|
3
3
|
"description": "Automated semver compliant package publishing",
|
|
4
|
-
"version": "17.3.
|
|
4
|
+
"version": "17.3.7",
|
|
5
5
|
"author": "Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)",
|
|
6
6
|
"ava": {
|
|
7
7
|
"files": [
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"@semantic-release/npm": "^7.0.0",
|
|
27
27
|
"@semantic-release/release-notes-generator": "^9.0.0",
|
|
28
28
|
"aggregate-error": "^3.0.0",
|
|
29
|
-
"cosmiconfig": "^
|
|
29
|
+
"cosmiconfig": "^7.0.0",
|
|
30
30
|
"debug": "^4.0.0",
|
|
31
31
|
"env-ci": "^5.0.0",
|
|
32
|
-
"execa": "^
|
|
32
|
+
"execa": "^5.0.0",
|
|
33
33
|
"figures": "^3.0.0",
|
|
34
34
|
"find-versions": "^4.0.0",
|
|
35
|
-
"get-stream": "^
|
|
35
|
+
"get-stream": "^6.0.0",
|
|
36
36
|
"git-log-parser": "^1.2.0",
|
|
37
37
|
"hook-std": "^2.0.0",
|
|
38
38
|
"hosted-git-info": "^3.0.0",
|
|
@@ -47,27 +47,27 @@
|
|
|
47
47
|
"semver": "^7.3.2",
|
|
48
48
|
"semver-diff": "^3.1.1",
|
|
49
49
|
"signale": "^1.2.1",
|
|
50
|
-
"yargs": "^
|
|
50
|
+
"yargs": "^16.2.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"ava": "
|
|
54
|
-
"clear-module": "
|
|
55
|
-
"codecov": "
|
|
56
|
-
"delay": "
|
|
57
|
-
"dockerode": "
|
|
58
|
-
"file-url": "
|
|
59
|
-
"fs-extra": "
|
|
60
|
-
"got": "
|
|
61
|
-
"js-yaml": "
|
|
62
|
-
"mockserver-client": "
|
|
63
|
-
"nock": "
|
|
64
|
-
"nyc": "
|
|
65
|
-
"p-retry": "
|
|
66
|
-
"proxyquire": "
|
|
67
|
-
"sinon": "
|
|
68
|
-
"stream-buffers": "
|
|
69
|
-
"tempy": "
|
|
70
|
-
"xo": "
|
|
53
|
+
"ava": "3.15.0",
|
|
54
|
+
"clear-module": "4.1.1",
|
|
55
|
+
"codecov": "3.8.1",
|
|
56
|
+
"delay": "4.4.0",
|
|
57
|
+
"dockerode": "3.2.1",
|
|
58
|
+
"file-url": "3.0.0",
|
|
59
|
+
"fs-extra": "9.1.0",
|
|
60
|
+
"got": "11.8.1",
|
|
61
|
+
"js-yaml": "3.14.0",
|
|
62
|
+
"mockserver-client": "5.11.2",
|
|
63
|
+
"nock": "13.0.6",
|
|
64
|
+
"nyc": "15.1.0",
|
|
65
|
+
"p-retry": "4.2.0",
|
|
66
|
+
"proxyquire": "2.1.3",
|
|
67
|
+
"sinon": "9.2.3",
|
|
68
|
+
"stream-buffers": "3.0.2",
|
|
69
|
+
"tempy": "1.0.0",
|
|
70
|
+
"xo": "0.29.1"
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
73
|
"node": ">=10.18"
|
|
@@ -122,7 +122,8 @@
|
|
|
122
122
|
"lint": "xo",
|
|
123
123
|
"pretest": "npm run lint",
|
|
124
124
|
"semantic-release": "./bin/semantic-release.js",
|
|
125
|
-
"test": "nyc ava -v"
|
|
125
|
+
"test": "nyc ava -v",
|
|
126
|
+
"test:ci": "nyc ava -v"
|
|
126
127
|
},
|
|
127
128
|
"xo": {
|
|
128
129
|
"prettier": true,
|
|
@@ -130,5 +131,10 @@
|
|
|
130
131
|
"rules": {
|
|
131
132
|
"unicorn/string-content": "off"
|
|
132
133
|
}
|
|
134
|
+
},
|
|
135
|
+
"renovate": {
|
|
136
|
+
"extends": [
|
|
137
|
+
"github>semantic-release/.github"
|
|
138
|
+
]
|
|
133
139
|
}
|
|
134
140
|
}
|