Pierre Vanduynslager
a93c96fec9
revert: fix: allow plugins to set environment variables to be used by other plugins
...
This reverts commit 68f7e928f93440a891fdb7c053d37082e228e1a6.
2020-02-07 17:50:14 -05:00
Pierre Vanduynslager
68f7e928f9
fix: allow plugins to set environment variables to be used by other plugins
2020-02-07 13:51:20 -08:00
Jozef Cipa
c6b10766a7
fix: correct error when remote repository has no branches
2020-01-27 11:59:38 -05:00
Pierre Vanduynslager
b54b20d412
fix: use --no-verify
when testing the Git permissions
2020-01-22 13:08:59 -05:00
Pierre Vanduynslager
6b5b02ea75
fix: fetch tags on repo cached by the CI
2020-01-15 13:43:44 -05:00
Pierre Vanduynslager
9772563a22
fix: look also for previous prerelease versions to determine the next one
2019-12-13 16:09:27 -05:00
Pierre Vanduynslager
a8747c4f86
fix: verify is branch is up to date by comparing remote and local HEAD
2019-12-10 00:23:38 -05:00
Pierre Vanduynslager
9ecc7a369c
fix: increase next version on prerelease branch based on highest commit type
2019-12-09 22:33:29 -05:00
Pierre Vanduynslager
0716a45b7d
feat: require Node.js >=10.13
...
BREAKING CHANGE: Require Node.js >= 10.13
2019-12-05 13:18:42 -05:00
Pierre Vanduynslager
916c2685c5
feat: allow to release any version on a branch if up to date with next branch
2019-12-04 18:00:16 -05:00
Pierre Vanduynslager
534c0dbc89
Merge branch 'master' into beta
2019-12-03 20:29:06 -05:00
Pierre Vanduynslager
cbef9d18da
fix: modify fetch function to handle CircleCI specifics
2019-12-03 18:07:12 -05:00
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
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
b2b7b57fbd
style: prettier formatting
2019-11-20 20:25:36 -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
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
greenkeeper[bot]
ffff100f47
fix(package): update cosmiconfig to version 6.0.0
2019-11-02 15:32:18 -04:00
Pierre Vanduynslager
7a939a8970
fix: use authenticated URL to check if local branch is up to date
2019-11-01 20:44:31 -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
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
4af8548366
fix: ignore custom port when converting ssh repo URL to https
2019-10-18 16:25:40 -04:00
knidarkness
79d22a2556
fix: clarify message for EGITNOPERMISSION error
2019-10-09 17:57:18 -04:00
greenkeeper[bot]
0e24022608
fix(package): update read-pkg-up to version 7.0.0
2019-09-27 10:37:25 -07:00
greenkeeper[bot]
5986bf920e
chore(package): update xo to version 0.25.0
2019-09-26 10:18:12 -07:00
Pierre Vanduynslager
fa62d0ba0b
revert: fix: revert to execa ^1.0.0
...
This reverts commit 6b3adf6bbe72d5c32335118e91ca32ec043bbc9e.
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
Pierre Vanduynslager
f67a667bcb
revert: fix: prefix git auth url with "x-access-token:" when run in a GitHub Action
...
This reverts commit cb2c506d8b6545b90587b6b5b7bf979c3f2b40b6.
2019-09-13 14:45:35 -04:00
Scott Willeke
cb2c506d8b
fix: prefix git auth url with "x-access-token:" when run in a GitHub Action
2019-09-12 12:30:03 -07:00
Pierre Vanduynslager
95a9e89141
revert: fix(definitions): Repository documentation links
...
This reverts commit 1eb302545e3ed16044cb0533430d39ce0eeed9e2.
2019-08-22 14:47:21 -04:00
Florian Keller
1eb302545e
fix(definitions): Repository documentation links
2019-08-16 10:17:24 -07:00
Pierre Vanduynslager
6b3adf6bbe
fix: revert to execa ^1.0.0
2019-06-26 12:33:59 -04:00
greenkeeper[bot]
52c48be17b
fix(package): update execa to version 2.0.0
2019-06-25 11:30:37 -04:00
Pierre Vanduynslager
4d581fc140
feat: create annotated tags
2019-06-07 16:03:30 -04:00
Pierre Vanduynslager
9948a74347
fix: revert to the correct refspec in fetch function
2019-06-06 12:54:21 -04:00
jmodjeski75
3610422959
fix(repositoryUrl): on beta repositoryUrl needs auth for pre-release flows ( #1186 )
2019-06-05 11:33:54 -07:00
Gregor
038e640d5e
fix: prefix git auth with "x-access-token:" when run in a GitHub Action
2019-06-05 12:17:21 -04:00
Ryan Kennedy
37bcc9e515
fix: Add helpful detail to ERELEASEBRANCHES
error message ( #1188 )
2019-05-23 12:21:17 -07:00
greenkeeper[bot]
74103abac4
fix(package): update read-pkg-up to version 6.0.0
2019-05-14 15:00:17 -04:00
Pierre Vanduynslager
a0229962ce
fix: fix maintenance branch regex
2019-05-09 10:38:02 -04:00
greenkeeper[bot]
d10268a8fa
chore(package): update xo to version 0.24.0
2019-01-30 19:54:29 -05:00