Pierre Vanduynslager
b2c1b2c670
feat: use Git notes to store the channels on which a version has been released
...
BREAKING CHANGE: this feature change the way semantic-release keep track of the channels on which a version has been released.
It now use a JSON object stored in a [Git note](https://git-scm.com/docs/git-notes ) instead of Git tags formatted as v{version}@{channel}.
The tags formatted as v{version}@{channel} will now be ignored. If you have made releases with v16.0.0 on branches other than the default one you will have to update your repository.
The changes to make consist in:
- Finding all the versions that have been released on a branch other than the default one by searching for all tags formatted v{version}@{channel}
- For each of those version:
- Create a tag without the {@channel} if none doesn't already exists
- Add a Git note to the tag without the {@channel} containing the channels on which the version was released formatted as `{"channels":["channel1","channel2"]}` and using `null` for the default channel (for example.`{"channels":[null,"channel1","channel2"]}`)
- Push the tags and notes
- Update the GitHub releases that refer to a tag formatted as v{version}@{channel} to use the tag without it
- Delete the tags formatted as v{version}@{channel}
2019-12-02 23:38:40 -05:00
Pierre Vanduynslager
2caafbaa2b
fix: add a flag indicate which branch is the main one
2019-11-28 13:59:06 -05:00
Pierre Vanduynslager
e722354f4f
style: merge both filter functions in get-last-release
2019-11-27 15:18:23 -05:00
Pierre Vanduynslager
97748c5e25
fix: do not create tags in dry-run mode for released to add to a channel
2019-11-27 15:18:23 -05:00
Pierre Vanduynslager
aec96c791f
fix: correctly determine release to add to a channel
...
- Add only the most recent release to a channel (rather than adding all the one not added yet)
- Avoid attempting to ad the version twice in case that version is already present in multiple upper branches
2019-11-27 15:18:23 -05:00
Pierre Vanduynslager
5744c5ecd2
fix: add channel to publish success log
2019-11-27 15:18:23 -05:00
Pierre Vanduynslager
1275b8c005
revert: fix: update commit-analyzer dep version off errant publish
...
This reverts commit 8d8910577f .
2019-11-23 11:06:31 -05:00
Pierre Vanduynslager
63f51ae6dd
fix: allow multiple branches with same channel
2019-11-20 16:17:24 -05:00
Pierre Vanduynslager
20e7a38cdb
style: prettier formatting
2019-11-20 14:16:13 -05:00
Pierre Vanduynslager
e06eb82cff
chore: add Mockserver generated file to gitignore
2019-11-20 14:16:13 -05:00
Pierre Vanduynslager
751a5f1349
fix: handle branch properties set to false
2019-11-20 14:16:13 -05:00
Pierre Vanduynslager
00420a83c0
fix: simplify get-tags algorithm
2019-11-08 12:35:34 -05:00
Pierre Vanduynslager
131734873e
fix: throws error if the commit associated with a tag cannot be found
2019-11-07 14:33:53 -05:00
Pierre Vanduynslager
de77a799a8
fix: call getTagHead only when necessary
2019-11-07 14:33:53 -05:00
Pierre Vanduynslager
56186419a7
fix(package): update micromatch to version 4.0.2
2019-11-01 22:23:18 -04:00
Pierre Vanduynslager
2ec856eb1d
docs: add requirements section to README
2019-11-01 16:58:55 -04:00
Pierre Vanduynslager
cffe9a8d33
perf: use git tag --merge <branch> to filter tags present in a branch history
...
BREAKING CHANGE: Git CLI version 2.7.1 or higher is now required
The `--merge` option of the `git tag` command has been added in Git version 2.7.1 and is now used by semantic-release
2019-11-01 16:58:55 -04:00
Pierre Vanduynslager
844e0b07e0
fix: remove hack to workaround GitHub Rebase & Merge
2019-11-01 16:58:55 -04:00
Pierre Vanduynslager
1edae67326
fix: display erroring git commands properly
2019-11-01 16:58:55 -04:00
Pierre Vanduynslager
e5344cd89b
fix(package): update micromatch to version 3.1.10
2019-10-29 13:26:41 -04:00
Pierre Vanduynslager
2c655b2328
fix(package): update p-each-series to version 2.1.0
2019-10-29 13:26:08 -04:00
Pierre Vanduynslager
581998cff0
fix(package): update semver-diff to version 3.1.1
2019-10-29 13:25:07 -04:00
Pierre Vanduynslager
65c412293e
fix(package): update @semantic-release/npm to version 6.0.0-beta.3
2019-10-29 12:01:59 -04:00
Pierre Vanduynslager
6053b89af3
fix(package): update @semantic-release/github to version 5.6.0-beta.1
2019-10-29 12:01:33 -04:00
Pierre Vanduynslager
3daf78081f
Merge branch 'master' into beta
2019-10-29 11:57:31 -04:00
Pierre Vanduynslager
1693073814
fix(package): update execa to version 3.2.0
2019-10-26 00:26:50 -04:00
Pierre Vanduynslager
2f3d934069
fix: require Node.js >=8.16
2019-10-26 00:26:50 -04:00
Pierre Vanduynslager
3438ec5c79
test: fix typo in test examples
2019-10-18 16:25:40 -04:00
Pierre Vanduynslager
4af8548366
fix: ignore custom port when converting ssh repo URL to https
2019-10-18 16:25:40 -04:00
Pierre Vanduynslager
95379270d6
fix(package): update execa to version 3.0.0
2019-10-14 12:56:56 -04:00
Pierre Vanduynslager
ff60ac594c
test: specify version of gitbox image
2019-10-10 11:57:58 -04:00
Pierre Vanduynslager
4b66303d2f
docs: typo is link to workflow config
2019-10-10 11:57:58 -04:00
Pierre Vanduynslager
9f2ec79d67
docs: limit list of suggested tools for commit linting
2019-10-09 16:42:52 -04:00
Pierre Vanduynslager
73f0c775da
fix: update plugins dependencies
2019-10-04 18:59:55 -04:00
Pierre Vanduynslager
2769a5057d
docs: add links to workflow configuration
2019-09-26 14:48:54 -07:00
Pierre Vanduynslager
53c85701df
docs: fix links in configuration doc
2019-09-26 14:48:54 -07:00
Pierre Vanduynslager
8b2bb688f9
docs: fix link to FAQ node minimum version
2019-09-26 14:48:54 -07:00
Pierre Vanduynslager
fa62d0ba0b
revert: fix: revert to execa ^1.0.0
...
This reverts commit 6b3adf6bbe .
2019-09-13 17:09:03 -04:00
Pierre Vanduynslager
f1d983ddb0
feat: require Node.js >=8.15
...
BREAKING CHANGE: Require Node.js => 8.15
2019-09-13 17:09:03 -04:00
Pierre Vanduynslager
f5737c821b
Merge branch 'master' into beta
2019-09-13 17:08:48 -04:00
Pierre Vanduynslager
0629f3cd8a
revert: feat: create annotated tags
...
This reverts commit 4d581fc140 .
2019-09-13 14:46:47 -04:00
Pierre Vanduynslager
d120eaea8b
revert: fix(package): update @semantic-release/github back to a build from the beta branch
...
This reverts commit 3f0a37944d .
2019-09-13 14:45:35 -04:00
Pierre Vanduynslager
f67a667bcb
revert: fix: prefix git auth url with "x-access-token:" when run in a GitHub Action
...
This reverts commit cb2c506d8b .
2019-09-13 14:45:35 -04:00
Pierre Vanduynslager
6f33c76fde
docs: various clarifications and language improvvements
2019-08-22 14:47:21 -04:00
Pierre Vanduynslager
9fd93ac37a
docs: fix node version requirement link is FAQ
2019-08-22 14:47:21 -04:00
Pierre Vanduynslager
7ddc2cfcbc
docs: update table of content in README.md and in Gitbook SUMMARY.md
2019-08-22 14:47:21 -04:00
Pierre Vanduynslager
55c3616e3f
revert: docs(contributing): added instructions on how to run gitbook locally
...
This reverts commit a3da21a544 .
2019-08-22 14:47:21 -04:00
Pierre Vanduynslager
c517c7048e
revert: docs(contributing): copy/pasted "Use gitbook locally" instruction from original url
...
This reverts commit cd00c2dc86 .
2019-08-22 14:47:21 -04:00
Pierre Vanduynslager
4b13280713
docs: correct list of default plugins
2019-08-22 14:47:21 -04:00
Pierre Vanduynslager
95a9e89141
revert: fix(definitions): Repository documentation links
...
This reverts commit 1eb302545e .
2019-08-22 14:47:21 -04:00
Pierre Vanduynslager
54d8e3fe99
revert: docs: note publishing on distribution channels in beta
...
This reverts commit 490d86d0d5 .
2019-08-22 14:47:21 -04:00
Pierre Vanduynslager
a6188d3902
revert: docs(recipes): cleaned doc and navigation
...
This reverts commit a8f8bffa37 .
2019-08-22 14:47:21 -04:00
Pierre Vanduynslager
e00b6c84df
revert: docs: repared broken links to "CI configuration recipes"
...
This reverts commit 3f22978623 .
2019-08-22 14:47:21 -04:00
Pierre Vanduynslager
3c4a0fb773
revert: docs: cleaned "Developer guide" section navigation
...
This reverts commit b08486327d .
2019-08-22 14:47:21 -04:00
Pierre Vanduynslager
e770c50f01
revert: docs: synched README.md and SUMMARY.md
...
This reverts commit 813e5f65ed .
2019-08-22 14:47:21 -04:00
Pierre Vanduynslager
5e41dc89bd
revert: docs: made doc file org clearer and augmented content
...
This reverts commit 5a5eaec3da .
2019-08-22 14:47:21 -04:00
Pierre Vanduynslager
ce3d1bc715
revert: docs: corrections and further clarifications
...
This reverts commit 7cb5446bb5 .
2019-08-22 14:47:21 -04:00
Pierre Vanduynslager
58aaf057f6
revert: docs: update semantic-release-cli broken link
...
This reverts commit 3bd63eb6a8 .
2019-08-22 14:47:21 -04:00
Pierre Vanduynslager
eea5de2863
revert: docs: broken link docs/03-recipes/travis.md
...
This reverts commit d2230fab7e .
2019-08-22 14:47:21 -04:00
Pierre Vanduynslager
519df0d5c1
chore: remove commitizen from our dependencies
2019-08-09 14:13:09 -04:00
Pierre Vanduynslager
6b3adf6bbe
fix: revert to execa ^1.0.0
2019-06-26 12:33:59 -04:00
Pierre Vanduynslager
01a0b2d08a
test: use regexp to check missing module message
2019-06-25 11:30:37 -04:00
Pierre Vanduynslager
3e4bb40990
style: fix prettier style
2019-06-07 16:03:30 -04:00
Pierre Vanduynslager
4d581fc140
feat: create annotated tags
2019-06-07 16:03:30 -04:00
Pierre Vanduynslager
4ed6213977
style: fix prettier style
2019-06-07 11:47:28 -04:00
Pierre Vanduynslager
9948a74347
fix: revert to the correct refspec in fetch function
2019-06-06 12:54:21 -04:00
Pierre Vanduynslager
113157f42a
test: fix parsing of test repo URL on Travis in unit tests
2019-06-05 17:18:17 -04:00
Pierre Vanduynslager
d4f28abd47
test: fix parsing of MODULE_NOT_FOUND errors message in unit tests
2019-06-05 17:18:17 -04:00
Pierre Vanduynslager
8576f49e54
test: update test to new sinon version
2019-05-09 10:38:02 -04:00
Pierre Vanduynslager
b60fef83cb
chore(package): update @semantic-release/github to version 5.4.0-beta.1
2019-05-09 10:38:02 -04:00
Pierre Vanduynslager
a0229962ce
fix: fix maintenance branch regex
2019-05-09 10:38:02 -04:00
Pierre Vanduynslager
990e85f069
fix: ignore lasst release only if pre-release on the same channel as current branch
2019-01-14 13:05:48 -05:00
Pierre Vanduynslager
0457a074e7
fix: correctly determine next pre-release version
2019-01-07 18:22:41 -05:00
Pierre Vanduynslager
1d8c35d889
docs: update FAQ regarding initial release version
2018-12-31 03:35:32 -05:00
Pierre Vanduynslager
0d91027e9f
docs: update release triggering section in README
2018-12-31 03:35:32 -05:00
Pierre Vanduynslager
2144f2064f
docs: add missing recipes link in README
2018-12-31 03:35:32 -05:00
Pierre Vanduynslager
d55fda3306
fix(pacjage): update @semantic-release/github and @semantic-release/npm
2018-12-27 15:42:15 -05:00
Pierre Vanduynslager
f96c660c1b
fix: harmonize parameters passed to getError
2018-12-18 18:02:02 -05:00
Pierre Vanduynslager
4aad9cd490
fix: do not call addChannelfor 2 merged branches configured with the same channel
2018-12-18 02:18:19 -05:00
Pierre Vanduynslager
390e966341
fix(package): update @semantic-release/npm to version 5.2.0-beta.3
2018-12-17 15:23:04 -05:00
Pierre Vanduynslager
c1c96a87a3
fix(package): update @semantic-release/github to version 5.3.0-beta.5
2018-12-17 15:23:04 -05:00
Pierre Vanduynslager
725780bf0a
fix(package): update @semantic-release/commit-analyzer to version 7.0.0-beta.2
2018-12-17 15:23:04 -05:00
Pierre Vanduynslager
9a023b4088
fix: call success plugin only once for releases added to a channel
2018-12-17 15:23:04 -05:00
Pierre Vanduynslager
c22ae17a9b
fix: on maintenance branch add to channel only version >= to start range
2018-12-17 15:23:04 -05:00
Pierre Vanduynslager
162b4b9e3b
fix: remove confusing logs when searching for releases to add to a channel
2018-12-17 15:23:04 -05:00
Pierre Vanduynslager
9a04e64fab
fix: fix range regexp to handle version with multiple digits
2018-12-16 19:05:08 -05:00
Pierre Vanduynslager
1243f79064
fix: correctly handle skipped releases
2018-12-16 16:28:52 -05:00
Pierre Vanduynslager
89663d3fcf
fix: correctly handle skipped releases
2018-12-16 16:15:48 -05:00
Pierre Vanduynslager
e1b418d0b5
build: fix Travis maintenance branch regexp
2018-12-14 23:40:59 -05:00
Pierre Vanduynslager
9a30f3542c
fix(package): update @semantic-release/github
2018-12-14 22:29:26 -05:00
Pierre Vanduynslager
d6731b9b27
fix(package): update @semantic-release/npm and @semantic-release/github
2018-12-14 19:26:25 -05:00
Pierre Vanduynslager
e1c7269cb3
feat: allow addChannel plugins to return false in order to signify no release was done
2018-12-14 18:37:02 -05:00
Pierre Vanduynslager
aa48514f85
refactor: remove unnecessary default of addChannel plugin
2018-12-14 18:37:02 -05:00
Pierre Vanduynslager
47484f5eb2
feat: allow publish plugins to return false in order to signify no release was done
2018-12-14 16:46:32 -05:00
Pierre Vanduynslager
2aa65ad668
docs: fix broken link in CircleCI recipe
2018-12-14 16:45:48 -05:00
Pierre Vanduynslager
0bfc7a974e
docs: remove mentions of travis-deploy-once
2018-12-14 16:45:48 -05:00
Pierre Vanduynslager
70c68ef3ed
feat: allow publish plugins to return false in order to signify no release was done
2018-12-14 16:16:27 -05:00
Pierre Vanduynslager and Gregor Martynus
048292baa5
docs: fix broken link in CircleCI recipe
2018-12-14 10:48:58 -08:00
Pierre Vanduynslager and Gregor Martynus
0f642ffe4d
docs: remove mentions of travis-deploy-once
2018-12-14 10:48:58 -08:00
Pierre Vanduynslager
52ca0b391c
fix: fix branch type regexp to handle version with multiple digits
2018-12-13 15:32:07 -05:00