Pierre Vanduynslager
93377eb636
revert: "fix: do not convert ssh repositoryUrl
to https"
...
This reverts commit b89523105cf04298f1f44858a02cc76c6c5dd0a5.
v15.9.7
2018-08-10 13:16:29 -04:00
Pierre Vanduynslager
b89523105c
fix: do not convert ssh repositoryUrl
to https
v15.9.6
2018-08-08 12:02:02 -04:00
Felix Becker
8b8e40c91e
docs(plugins): add semantic-release-firefox
2018-08-06 12:09:46 -04:00
greenkeeper[bot]
06695a1af8
chore(package): update xo to version 0.22.0
2018-08-06 11:48:44 -04:00
Pierre Vanduynslager
63d422ed5c
fix: do not clone stdout
/stderr
passed to pugins
v15.9.5
2018-08-04 20:33:26 -04:00
greenkeeper[bot]
efb40000b4
fix(package): update @semantic-release/npm to version 5.0.1
...
Closes #882
v15.9.4
2018-08-04 20:03:19 -04:00
greenkeeper[bot]
d8fa18272f
chore(package): update got to version 9.0.0
2018-08-04 13:03:27 -04:00
Pierre Vanduynslager
b082a2eb38
fix: do not hide env variable value if shorter than 5
v15.9.3
2018-07-31 16:57:29 -04:00
Pierre Vanduynslager
43d0646150
fix: also hide sensitive info when loggin from cli.js
v15.9.2
2018-07-30 14:06:51 -04:00
Pierre Vanduynslager
b2d82c2ccb
docs: specify for each step if one or more plugins are required/allowed
v15.9.1
2018-07-29 23:50:17 -04:00
Pierre Vanduynslager
31ec1eb5de
docs: fix configuration doc syntax
2018-07-29 23:50:17 -04:00
Pierre Vanduynslager
d8c84a0e0b
fix: clarify EPLUGINCONF
error message
...
The message now specify if the step is required and if it allows to configure multiple plugins.
2018-07-29 23:50:17 -04:00
Pierre Vanduynslager
3cc62f0318
docs: add JS API documentation
v15.9.0
2018-07-29 21:56:21 -04:00
Pierre Vanduynslager
417779e221
feat: return lastRelease
, commits
, nextRelease
, releases
from JS API
2018-07-29 21:56:21 -04:00
Pierre Vanduynslager
c57443500f
refactor: pass complete context
to lib/plugins/normalize.js
2018-07-29 21:56:21 -04:00
Pierre Vanduynslager
0626d57116
feat: log with signale
and allow to customize stdin
and stdout
2018-07-29 21:56:21 -04:00
Pierre Vanduynslager
f64046f1d9
docs: fix link to resources page
2018-07-29 21:56:21 -04:00
Pierre Vanduynslager
1d4f67e5e8
test: use semanticrelease/npm-registry-docker
Docker image for tests
2018-07-29 21:48:35 -04:00
Carlos Cubas
b9af5c42c9
docs: add new semantic-release-gcr plugin link
...
Update docs to add a new community plugin semantic-release-gcr. This plugin publishes a docker image to google cloud registry.
2018-07-20 14:01:32 -04:00
Pierre Vanduynslager
3fb3fa8378
fix: do not override env variable with default if defined
v15.8.1
2018-07-18 19:37:11 -04:00
Pierre Vanduynslager
a94e08de9a
feat: pass cwd
and env
context to plugins
...
- Allow to run semantic-release (via API) from anywhere passing the current working directory.
- Allows to simplify the tests and to run them in parallel in both the core and plugins.
v15.8.0
2018-07-17 00:42:04 -04:00
Pierre Vanduynslager
12e4155cd3
refactor: pass argv
via proxyquire
for cli tests
2018-07-17 00:42:04 -04:00
greenkeeper[bot]
264472c998
chore(package): update fs-extra to version 7.0.0
2018-07-16 22:44:56 -04:00
greenkeeper[bot]
d3c7232b70
fix(package): update git-url-parse to version 10.0.1
v15.7.2
2018-07-16 00:02:59 -04:00
Pierre Vanduynslager
89e584713d
docs: migration to new GitBook version
2018-07-14 18:00:06 -04:00
greenkeeper[bot]
ed6a3818dc
chore(package): update clear-module to version 3.0.0
2018-07-11 14:20:05 -04:00
Pierre Vanduynslager
d8e59cce53
fix: set default path to generateNotes
object config
v15.7.1
2018-07-10 15:50:24 -04:00
Pierre Vanduynslager
24ce560065
refactor: build plugin pipeline parameters at initialization
...
In addition, factorize the pipeline config function to avoid code duplication.
v15.7.0
2018-07-10 13:18:58 -04:00
Pierre Vanduynslager
eb26254b00
refactor: use Object.entries
rather than Object.keys
2018-07-10 13:18:58 -04:00
Pierre Vanduynslager
50061bb267
refactor: remove unnecessary object destructuring
2018-07-10 13:18:58 -04:00
Pierre Vanduynslager
5989989452
feat: allow to define multiple generateNotes
plugins
...
Each `generateNotes` plugin will be called in the order defined and will receive the concatenation of the previous one in `nextRelease.notes`.
That gives each plugin the ability to test if there is a notes part that will precede it's own.
Each plugin is expected to return it's own part of the release notes only. **semantic-release** will take care of concatenating all the notes parts.
2018-07-10 13:18:58 -04:00
Pierre Vanduynslager
576eb6027f
refactor: simplify plugin validation
2018-07-10 13:18:58 -04:00
Pierre Vanduynslager
f7f4aabe9e
refactor: use the lastInput
arg to compute the prepare
pipeline next input
...
Use the `getNextInput`'s provided argument rather than relying on the closure.
2018-07-10 13:18:58 -04:00
Pierre Vanduynslager
12de6282dd
refactor: fix incorrect comments in lib/plugins/pipeline.js
2018-07-10 13:18:58 -04:00
Pierre Vanduynslager
d3032868d8
docs: fix default value for analyzeCommits
plugin
2018-07-10 13:18:58 -04:00
Pierre Vanduynslager
ed9c456f5e
refactor: always return an Array
of results/errors from a plugin pipeline
...
Always return an `Array` from a pipeline simplify the function utilization as it's more deterministic. Previously, it would return/throw a single value/error when called with a single input and an `Array` of results/errors when called with an `Array` of input.
2018-07-10 13:18:58 -04:00
Pierre Vanduynslager
cac48823f1
docs: clarify verifyRelease
plugin description
2018-07-10 13:18:58 -04:00
Pierre Vanduynslager
09348f1b8a
style: disable max-params
warning for lib/plugins/normalize.js
2018-07-10 13:18:58 -04:00
Pierre Vanduynslager
f93eeb799b
fix: do not set path
to plugin config defined as a Function or an Array
...
If a plugin hook was defined as a `Function` or an `Array` the `path` property would be set to the default value.
Even if this bug had no actual negative impact, it should be fixed so the code would perform as intended.
2018-07-10 13:18:58 -04:00
Pierre Vanduynslager
071dccea4b
fix: use unauthenticated URL to check if branch is up to date
...
In case the authentication token provided is unauthorized the call to `isBranchUpToDate` will fail due to lack of read permission if that URL is used. As a result the error about outdated local branch will be reported instead of the one about missing permission.
By using the original (unauthenticated) URL `isBranchUpToDate` shouldn't fail due to permission as it requires only read permissions, that are necessarly present as the CI wass able to clone the repo.
v15.6.6
2018-07-10 13:07:00 -04:00
Pierre Vanduynslager
eb22f9998d
docs: FAQ for reverting a release
2018-07-10 11:52:39 -04:00
Pierre Vanduynslager
5847514fcc
fix: allow empty release notes in dry-run mode
v15.6.5
2018-07-10 11:42:22 -04:00
Pierre Vanduynslager
a39ccb8f6c
docs: add missing link in GitBook summary
2018-07-08 01:16:21 -04:00
Pierre Vanduynslager
0862480cf0
fix(package): update hosted-git-info to version 2.7.1
v15.6.4
2018-07-06 21:47:50 -04:00
Pierre Vanduynslager
45eee4acdd
fix: fetch all tags even if the repo is not shallow
v15.6.3
2018-07-02 18:38:24 -04:00
Pierre Vanduynslager
2d3a5e53e9
test: harmonize git-utils
functions name
2018-07-02 18:38:24 -04:00
Pierre Vanduynslager
4abda31f83
fix: add debug log for git fetch
command
v15.6.2
2018-07-02 16:50:41 -04:00
Pierre Vanduynslager
3602716c0b
docs: update semantic-release
and travis-deploy-once
versions in examples
2018-07-02 11:23:37 -04:00
Pierre Vanduynslager
d4f68a5680
fix(package): update yargs to version 12.0.0
v15.6.1
2018-06-26 15:46:19 -04:00
Pierre Vanduynslager
4454d57e02
feat: allow to disable the publish plugin hook
v15.6.0
2018-06-19 15:03:43 -04:00