Skip to content

Tags: ksteiny/semantic-release

Tags

v8.2.0

Toggle v8.2.0's commit message
feat: Allow to recover from ENOTINHISTORY with a tag and handle detac…

…hed head repo

- Tag sha will now be used also if there is a gitHead in last release and it's not in the history
- Use `git merge-base` to determine if a commit is in history, allowing to use CI creating detached head repo
- Mention recovery solution by creating a version tag in `ENOTINHISTORY` and `ENOGITHEAD` error messages
- Do not mention branches containing missing commit in `ENOTINHISTORY` and `ENOGITHEAD` error messages as it's not available by default on most CI

v8.1.2

Toggle v8.1.2's commit message
fix: Always pass pluginConfig to plugins as a defined object

v8.1.1

Toggle v8.1.1's commit message
fix: Exit with 1 if unexpected error happens

v8.1.0

Toggle v8.1.0's commit message
feat: Retrieve version gitHead from git tags and unshallow the repo i…

…f necessary

Add several fixes and improvements in the identification of the last release gitHead:
- If there is no last release, unshallow the repo in order to retrieve all existing commits
- If git head is not present in last release, try to retrieve it from git tag with format ‘v\<version\>’ or ‘\<version\>’
- If the last release git head cannot be determined and  found in commit history, unshallow the repo and try again
- Throw a ENOGITHEAD error if the gitHead for the last release cannot be found in the npm metadata nor in the git tags, preventing to make release based on the all the commits in the repo as before
- Add integration test for the scenario with a packed repo from which `npm republish` fails to read the git head

Fix semantic-release#447, Fix semantic-release#393, Fix semantic-release#280, Fix semantic-release#276

v8.0.4

Toggle v8.0.4's commit message
fix(package): update @semantic-release/error to version 2.0.0

v8.0.3

Toggle v8.0.3's commit message
fix(package): Set minimum node version to 4 (semantic-release#442)

v8.0.2

Toggle v8.0.2's commit message
fix(package): update @semantic-release/last-release-npm to version 2.0.0

8.0.1

Toggle 8.0.1's commit message
fix(package): update @semantic-release/commit-analyzer to version 3.0.1

v8.0.0

Toggle v8.0.0's commit message
fix(package): @semantic-release/[email protected]

This also introduces the new build leader detecation from https://github.com/semantic-release/travis-deploy-once/releases/tag/v2.0.0

v7.0.2

Toggle v7.0.2's commit message
fix(post): create git tag properly

refs/heads are for branches and refs/tags for tags.