Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
55be0ba2b1 | ||
|
|
ec516a34bf | ||
|
|
5f89e6bfc0 | ||
|
|
195e5b18c7 |
@@ -38,7 +38,7 @@ The following three examples are the same.
|
||||
|
||||
- Via CLI argument:
|
||||
```bash
|
||||
$ semantic-release --branch next
|
||||
$ semantic-release --branches next
|
||||
```
|
||||
|
||||
**Note**: CLI arguments take precedence over options configured in the configuration file.
|
||||
|
||||
@@ -66,7 +66,9 @@ async function run(context, plugins) {
|
||||
}
|
||||
|
||||
logger[options.dryRun ? 'warn' : 'success'](
|
||||
`Run automated release from branch ${ciBranch}${options.dryRun ? ' in dry-run mode' : ''}`
|
||||
`Run automated release from branch ${ciBranch} on repository ${options.repositoryUrl}${
|
||||
options.dryRun ? ' in dry-run mode' : ''
|
||||
}`
|
||||
);
|
||||
|
||||
try {
|
||||
|
||||
+2
-2
@@ -60,14 +60,14 @@
|
||||
"got": "^10.5.2",
|
||||
"js-yaml": "^3.10.0",
|
||||
"mockserver-client": "^5.1.1",
|
||||
"nock": "^11.1.0",
|
||||
"nock": "^12.0.0",
|
||||
"nyc": "^15.0.0",
|
||||
"p-retry": "^4.0.0",
|
||||
"proxyquire": "^2.0.0",
|
||||
"sinon": "^8.0.4",
|
||||
"stream-buffers": "^3.0.2",
|
||||
"tempy": "^0.4.0",
|
||||
"xo": "^0.25.0"
|
||||
"xo": "^0.26.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.18"
|
||||
|
||||
@@ -82,7 +82,7 @@ test('Get all commits between lastRelease.gitHead and a shas', async t => {
|
||||
|
||||
// Verify the commits created and retrieved by the module are identical
|
||||
t.is(result.length, 1);
|
||||
t.deepEqual(result, commits.slice(1, commits.length - 1));
|
||||
t.deepEqual(result, commits.slice(1, -1));
|
||||
});
|
||||
|
||||
test('Return empty array if lastRelease.gitHead is the last commit', async t => {
|
||||
|
||||
Reference in New Issue
Block a user