diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6a5d534d..e441ad51 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -179,6 +179,8 @@ Ready to publish changes to npm? Pull Requests for specific labels so if you see a PR missing from the changelog, ensure it has been labeled `breaking`, `enhancement`, `bug`, `documentation` or `internal`. +1. If you're pleased with the changelog preview, + `git checkout CHANGELOG.md` to reset it. 1. Run `yarn run release` to start the release. Lerna will update the changelog, ask for a new version number, create a git tag, diff --git a/scripts/generate-changelog.sh b/scripts/generate-changelog.sh index 930a8879..139e737f 100755 --- a/scripts/generate-changelog.sh +++ b/scripts/generate-changelog.sh @@ -1,9 +1,5 @@ #!/bin/sh -# Undo any temporary changelog entries that might have been added if the user -# recently ran `yarn run changelog` -git checkout CHANGELOG.md - # Back up the current changelog mv CHANGELOG.md /tmp/cf-changelog.md