384 Commits

Author SHA1 Message Date
Pierre Vanduynslager
5f1d530e2a feat: allow to use shorthand for repositoryUrl
- `owner/repo` => `https://github.com/owner/repo.git`
- `gitlab:owner/repo` => `https://gitlab.com/owner/repo.git`
- `bitbucket:owner/repo` => `https://bitbucket.com/owner/repo.git`
v15.1.0
2018-03-15 22:40:09 +00:00
greenkeeper[bot]
f13ec6a615 fix(package): update execa to version 0.10.0 v15.0.4 2018-03-15 08:18:04 -04:00
Pierre Vanduynslager
b0b4fc82de fix: convert git+https URL in package.json to https v15.0.3 2018-03-13 00:54:32 +00:00
Pierre Vanduynslager
6f74dcbd4a fix: use correct debug namespace 2018-03-13 00:54:32 +00:00
Gregor Martynus
1129d47e1d docs(configuration): environment variable DEBUG must be set to semantic-release:*, not semantic-release 2018-03-12 16:39:46 -04:00
Pierre Vanduynslager
e4618a2fbc fix: exclude prereleases from version retrived by getLastRelease v15.0.2 2018-03-08 17:25:40 +00:00
Pierre Vanduynslager
e5a73d8628 fix: remove unecessary console.log v15.0.1 2018-03-07 23:01:08 +00:00
robert
50f3c6e140 docs(README): correct pluralization 2018-03-07 09:39:20 -05:00
greenkeeper[bot]
78f0937f24 chore(package): update proxyquire to version 2.0.0 2018-03-03 16:42:54 -05:00
William Hosford
a7c187f31b docs: fix grammar and typos in README, CONTRIBUTING, installation guide, and plugin guide 2018-02-25 17:43:51 +00:00
Pierre Vanduynslager
c2beb643fa feat: add the prepare plugin hook
BREAKING CHANGE: Committing or creating files in the `publish` plugin hook is not supported anymore and now must be done in the `prepare` hook

Plugins with a `publish` hook that makes a commit or create a file that can be committed must use the `prepare` hook.
v15.0.0
2018-02-19 00:28:50 -05:00
Pierre Vanduynslager
20246c02b1 fix: exclude empty env var value from replacement v14.0.4 2018-02-19 00:01:06 -05:00
Pierre Vanduynslager
857d4180e9 fix: allow boolean option to be set in config file v14.0.3 2018-02-16 00:51:58 -05:00
Pierre Vanduynslager
4d0490122c style: lint 2018-02-15 23:19:57 -05:00
Pierre Vanduynslager
aa724e80f7 chore(package): simplify xo configuration 2018-02-15 23:19:57 -05:00
greenkeeper[bot]
ce15b75edf chore(package): update xo to version 0.20.0 2018-02-15 23:19:57 -05:00
Pierre Vanduynslager
1966f0e3e2 fix: verify branch first v14.0.2 2018-02-15 18:35:37 +00:00
Pierre Vanduynslager
305f4ee8eb fix: do not transform repositoryUrl if it allow to push
Even the user set Git credentials via environment variable, use the configured URL (with authentication) if it works.
This allow users to push tags and commits via ssh while still using the GitHub/GitLab API.
v14.0.1
2018-02-14 10:45:44 -05:00
Pierre Vanduynslager
9788fcad4e feat: use @semantic-release/github as default for success and fail hooks
BREAKING CHANGE: `success` and `fail` hooks are now enabled by default

In order to disable the `@semantic-release/github` plugin for the `success` and `fail` hook, the corresponding options have to be set to `false` in the **semantic-release** configuration:

```json
{
  "release": {
    "success": false,
    "fail": false
  }
}
```

Users who do not use the `@semantic-release/github` plugin, should disable it in the `success` and `fail` by setting the corresponding options to `false` or to alternative plugin providing `success` and `fail` hooks.
v14.0.0
2018-02-13 16:33:37 -05:00
Pierre Vanduynslager
04f3061bed fix: remove the github plugin from default success and fail hooks v13.4.1 2018-02-13 16:06:30 -05:00
Pierre Vanduynslager
1b3c51d624 docs: add missing success and fail options 2018-02-13 16:06:30 -05:00
Pierre Vanduynslager
8a2ef48308 test: revert to mockserver:latest docker container 2018-02-12 21:40:47 -05:00
Pierre Vanduynslager
ce1e74f611 fix: set repository authentication when repositoryUrl is set as an option v13.4.0 2018-02-12 16:17:09 -05:00
Pierre Vanduynslager
b6837a20a8 test: use older version of mockserver
Due to https://github.com/jamesdbloom/mockserver/issues/435
2018-02-12 16:17:09 -05:00
Pierre Vanduynslager
97cb354fea feat: improve CLI
- Replace `commander.js` with `yargs`
- Add CLI unit tests
- Add a `--version` option
- Improve `--help` output
- Remove `commander.js` related workaround
- Allow to set list option with arg repetition or space separated list
- Maintain the list options defined as comma separated list
2018-02-12 11:01:09 -08:00
Pierre Vanduynslager
f92677b092 fix: log current version of semantic-release 2018-02-12 11:01:09 -08:00
Pierre Vanduynslager
9dd127ba98 fix: fix EPLUGINCONF error details v13.3.1 2018-02-12 00:36:06 -05:00
Pierre Vanduynslager
c9bd5de075 docs: simplify GitLAb-ci config
- remove Node 4
2018-02-11 22:17:12 -05:00
Pierre Vanduynslager
51f6e5fd60 docs: simplify travis config
- remove OSs
- remove Node 4
2018-02-11 22:17:12 -05:00
Pierre Vanduynslager
c6e95b0885 docs: add CircleCI workflows recipe 2018-02-11 22:17:12 -05:00
Pierre Vanduynslager
7fbd2721c4 docs: add Travis Build Stages recipe 2018-02-11 22:17:12 -05:00
Pierre Vanduynslager
fcb64e6fef docs: remove unnecessary script override in travis recipe 2018-02-11 22:17:12 -05:00
Pierre Vanduynslager
d72cfc2546 docs: fix typo in travis recipe 2018-02-11 22:17:12 -05:00
Pierre Vanduynslager
49f5e704ba feat: add success and fail notification plugins
- Allow `publish` plugins to return an `Object` with information related to the releases
- Add the `success` plugin hook, called when all `publish` are successful, receiving a list of release
- Add the `fail` plugin hook, called when an error happens at any point, receiving a list of errors
- Add detailed message for each error
v13.3.0
2018-02-11 19:53:41 -05:00
Pierre Vanduynslager
9b2f6bfed2 feat: allow plugins to throw an iterable list of errors 2018-02-11 19:53:41 -05:00
Pierre Vanduynslager
9360caf253 docs: fix minor typo in FAQ 2018-02-10 23:38:12 -05:00
mchao409
2f8d71644d docs: make some grammatical, spelling, typo fixes. 2018-02-09 21:26:21 -08:00
Pierre Vanduynslager
5fd990acef docs: fix typo in extending link 2018-02-09 18:43:56 -05:00
Pierre Vanduynslager
687435b9a2 feat: add debug logs for git commands v13.2.0 2018-02-08 16:43:17 -05:00
Pierre Vanduynslager
7e785fa757 fix: debug log all options v13.1.5 2018-02-08 16:13:04 -05:00
Pierre Vanduynslager
053c9edf9b test: add test to parse GitLab/Bitbucket URLs with groups v13.1.4 2018-02-07 21:03:36 -05:00
Pierre Vanduynslager
2edd9da598 fix(package): update git-url-parse to version 8.1.0 2018-02-07 21:03:36 -05:00
Pierre Vanduynslager
cbf57851fb fix: always transform git+https url to https v13.1.3 2018-02-02 15:33:36 -05:00
Pierre Vanduynslager
af8c830335
fix(package): update @semantic-release/github to version 4.0.2 v13.1.2 2018-02-02 13:55:21 -05:00
Christian Musa
d8208237f2 fix: use long option to delete tag in git push v13.1.1 2018-01-31 16:22:04 -05:00
Pierre Vanduynslager
39536fa34e feat: add tagFormat option to customize Git tag name v13.1.0 2018-01-29 00:55:32 -05:00
Pierre Vanduynslager
faabffb208 fix: log all core verification errors 2018-01-29 00:55:32 -05:00
Anthony Ng
2f75dff3fc docs: fix image path (#625) 2018-01-28 14:01:12 -08:00
Stephan Bönnemann
dc416b2ce9 docs: explain npx alternatives for Yarn 2018-01-27 19:04:12 -08:00
Stephan Bönnemann
e3c9bb8bd4 docs: recommend to execute semantic-release via npx 2018-01-27 19:04:12 -08:00