Gregor Martynus
f66aa27dd7
WIP set extendEnv: false
execa option
2021-01-20 13:52:15 -08:00
Gregor Martynus
2cc7d517b1
WIP
2021-01-20 13:19:08 -08:00
Gregor Martynus
7beb13af45
WIP reverting to simulating Travis CI test environment and setting GITHUB_API_URL
2021-01-20 13:11:06 -08:00
Gregor Martynus
1c85b88c9f
WIP oops actually use processEnv
2021-01-20 12:46:26 -08:00
Gregor Martynus
fd5b64a99a
WIP run integration tests sequentially
2021-01-20 12:42:41 -08:00
Gregor Martynus
9e83fa020d
WIP ignore GitHub Action related environment variables, and fix "Use the repository URL as is if none of the given git credentials are valid" which should never have passed before but well here we are
2021-01-20 12:31:28 -08:00
Gregor Martynus
0ae2f632ff
WIP trying to mock unset environment variables by setting them to empty strings
2021-01-20 12:08:33 -08:00
Gregor Martynus
9b1afca0f5
test(integration): do not mock environment variables with null
...
That results in the value `"null"` instead of undefined
2021-01-20 12:04:26 -08:00
Josh Soref
3da96bbb90
ci: replace Travis environment variables with GitHub Action variables
2021-01-20 11:21:02 -08:00
Josh Soref
32a2c91d7c
fix: pin initial branch to master ( #1740 )
2021-01-20 11:20:48 -08:00
Dominykas Blyžė
21c151f167
fix: normalize ci: false into noCi: true after configs get merged ( #1732 ) thanks @dominykas
...
This makes sure that options.ci is respected even when set inside a shareable config
2021-01-13 07:38:57 -08:00
Dmitriy Dekhanov
f8f8fbcac4
fix: escape uri encoded symbols ( #1697 )
2020-11-19 11:55:09 -08:00
Matt Travi
ca90b34c4a
fix: mask secrets when characters get uri encoded
2020-11-16 10:36:40 -06:00
Arthur Chaloin
2bf377194e
fix: use valid git credentials when multiple are provided ( #1669 )
2020-10-29 11:09:19 -07:00
Arthur Chaloin
77a75f072b
fix: don't parse port as part of the path in repository URLs ( #1671 )
2020-10-28 15:53:03 -07:00
Matt Travi
3abcbaf256
Revert "feat: throw an Error if package.json has duplicate "repository" key ( #1656 )"
...
This reverts commit b8fb35c7e15d314c15182f779ef30b42b6c4e7ea.
fixes #1657
2020-10-12 08:21:24 -05:00
Gregor Martynus
b8fb35c7e1
feat: throw an Error if package.json has duplicate "repository" key ( #1656 )
2020-10-11 14:59:51 -07:00
Emmanuel Ogbizi
0f0c650b41
fix: use correct ci branch context ( #1521 )
2020-06-25 09:30:12 -07:00
Sven Liebig
a4658016d9
feat(bitbucket-basic-auth): support for bitbucket server basic auth ( #1578 )
2020-06-22 11:26:24 -07:00
Nicholas Shine
eed1d3c8cb
fix: prevent false positive secret replacement for Golang projects ( #1562 )
2020-05-24 11:53:00 -07:00
Gregor Martynus
431d571a7b
fix: adapt for semver to version 7.3.2 (part II) ( #1530 )
2020-04-16 14:42:25 -07:00
Gregor Martynus
0363790b8a
fix: adapt for semver to version 7.3.2
...
see https://github.com/npm/node-semver/issues/322
2020-04-16 13:54:47 -07:00
Gregor Martynus
caa3526caa
style: xo
2020-04-08 15:13:33 -07:00
greenkeeper[bot]
f899fa9a7c
chore(package): update xo to version 0.28.1
...
Closes #1488
2020-03-26 23:55:26 -04:00
greenkeeper[bot]
195e5b18c7
chore(package): update xo to version 0.26.0
2020-02-12 20:09:31 -05:00
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
Pierre Vanduynslager
bc97537c97
test: fix copy/paste typo in test titles
2020-01-28 10:33:24 -05:00
greenkeeper[bot]
ef1b8a0b91
chore(package): update ava to version 3.1.0
2020-01-27 13:52:59 -05:00
Jozef Cipa
c6b10766a7
fix: correct error when remote repository has no branches
2020-01-27 11:59:38 -05:00
Pierre Vanduynslager
6b5b02ea75
fix: fetch tags on repo cached by the CI
2020-01-15 13:43:44 -05:00
greenkeeper[bot]
11665b214d
chore(package): update dependencies
2020-01-09 16:34:01 -05:00
Pierre Vanduynslager
3ba8f2a929
Merge remote-tracking branch 'origin/master' into beta
2020-01-09 15:01:19 -05:00
Pierre Vanduynslager
a8c747d592
feat: pass envi-ci
values to plugins context
2019-12-20 19:36:02 -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
61665be9ec
fix: correct log when adding channel to tag
2019-12-10 00:23:38 -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
ec54c0be8a
test: fix calls to fetch
in tests
2019-12-03 20:20:04 -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
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
131734873e
fix: throws error if the commit associated with a tag cannot be found
2019-11-07 14:33:53 -05:00