Skip to content

Commit

Permalink
docs(eslint-config): add tip about using --dry-run
Browse files Browse the repository at this point in the history
Just a little Pro-Tip for figuring out whether to do a major, minor, or
patch release.

Semi-related: #87
  • Loading branch information
wincent committed Oct 2, 2020
1 parent ee28f96 commit 81f7dde
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions projects/eslint-config/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

npx @liferay/changelog-generator --version=v4.1.0

If you're not sure what version number to supply (ie. because you don't know exactly what changes will be included), you can pass the `--dry-run` switch along with an arbitrary version number to get a preview printed to standard output:

npx @liferay/changelog-generator --version=v0.0.0 --dry-run

4. Review the changes.

Use `git diff` to confirm that the CHANGELOG.md looks correct. Feel free to edit it if you want to make improvements. Then stage the changes:
Expand Down

0 comments on commit 81f7dde

Please sign in to comment.