Skip to content

Commit

Permalink
describe how to check local changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbonnet committed May 29, 2024
1 parent 6b8b301 commit 365fceb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ npm install --save-dev semantic-release

4. Commit both `package.json` and `package-lock.json`at the root of your repository

### Local run

Use the `dry-run` mode to check the changes to `semantic-release` would perform
```sh
GITHUB_TOKEN=$(gh auth token) npx semantic-release --dry-run --branches=$(git rev-parse --abbrev-ref HEAD)
```


## Contributor Code of Conduct

Expand Down

0 comments on commit 365fceb

Please sign in to comment.