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}
v16.0.0-beta.39
2019-12-02 23:38:40 -05:00
Pierre Vanduynslager
2caafbaa2b
fix: add a flag indicate which branch is the main one
v16.0.0-beta.38
2019-11-28 13:59:06 -05:00
Pierre Vanduynslager
e722354f4f
style: merge both filter
functions in get-last-release
v16.0.0-beta.37
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 8d8910577f0702087684e360e3c92ee6cc5793a0.
v16.0.0-beta.36
2019-11-23 11:06:31 -05:00
Eddie Leffler
8d8910577f
fix: update commit-analyzer dep version off errant publish
v16.0.0-beta.35
2019-11-20 23:11:33 -05:00
Eddie
9890584007
fix: update plugins dependencies
v16.0.0-beta.34
2019-11-20 22:29:59 -05:00
Pierre Vanduynslager
63f51ae6dd
fix: allow multiple branches with same channel
v16.0.0-beta.33
2019-11-20 16:17:24 -05:00
Pierre Vanduynslager
20e7a38cdb
style: prettier formatting
v16.0.0-beta.32
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
v16.0.0-beta.31
2019-11-08 12:35:34 -05:00
Pierre Vanduynslager
131734873e
fix: throws error if the commit associated with a tag cannot be found
v16.0.0-beta.30
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
v16.0.0-beta.29
2019-11-01 22:23:18 -04:00
Pierre Vanduynslager
2ec856eb1d
docs: add requirements section to README
v16.0.0-beta.28
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
v16.0.0-beta.27
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
Justin Dietz
9eaf9552c1
docs(contributing): correct lint fix command
2019-10-27 21:56:05 -04:00
Pierre Vanduynslager
1693073814
fix(package): update execa to version 3.2.0
v15.13.28
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
Alisson R. Perez
f645547f2f
docs(recipes): GitHub actions ( #1317 )
...
Co-Authored-By: Natan Sągol <m@merlinnot.com>
2019-10-23 10:47:24 -07:00
Pierre Vanduynslager
3438ec5c79
test: fix typo in test examples
v15.13.27
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
v16.0.0-beta.26
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
Alexander G
dc19dfa2e9
docs: remove unnecessarily apostrophe
...
- improve punctuation of the how-to revert a release section
2019-10-10 07:32:14 -07:00
knidarkness
79d22a2556
fix: clarify message for EGITNOPERMISSION error
v15.13.26
2019-10-09 17:57:18 -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
v16.0.0-beta.25
2019-10-04 18:59:55 -04:00
greenkeeper[bot]
0e24022608
fix(package): update read-pkg-up to version 7.0.0
v15.13.25
2019-09-27 10:37:25 -07: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
greenkeeper[bot]
5986bf920e
chore(package): update xo to version 0.25.0
2019-09-26 10:18:12 -07:00
greenkeeper[bot]
c86045ca49
chore(package): update dockerode to version 3.0.0
2019-09-24 13:37:46 -07:00
Pierre Vanduynslager
fa62d0ba0b
revert: fix: revert to execa ^1.0.0
...
This reverts commit 6b3adf6bbe72d5c32335118e91ca32ec043bbc9e.
v16.0.0-beta.24
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 4d581fc140dda99065542872d125cf27fb24798f.
2019-09-13 14:46:47 -04:00