Skip to content

Commit

Permalink
docs: Adding local testing steps to contributing guide (#1743)
Browse files Browse the repository at this point in the history
* chore: Adding local testing steps to contributing guide

* Update CONTRIBUTING.md

Co-authored-by: Benjamin E. Coe <bencoe@google.com>
  • Loading branch information
ddixit14 and bcoe committed Nov 10, 2022
1 parent 2d9d5b6 commit 09ae5a2
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion CONTRIBUTING.md
Expand Up @@ -55,4 +55,25 @@ accept your pull requests.

npm run fix

[node]: https://nodejs.org/en/
## Testing a new feature using CLI

1. After you've written some new code, in order to test it out, you can use the [CLI][CLI].

The below command should be run from the root of the source code:

```
node build/src/bin/release-please.js release-pr \
--token=$GITHUB_TOKEN \
--repo-url=<owner>/<repo> [extra options]
```

It is equivalent to running the CLI command:

```
release-please release-pr \
--token=$GITHUB_TOKEN \
--repo-url=<owner>/<repo> [extra options]
```

[node]: https://nodejs.org/en/
[CLI]: https://github.com/googleapis/release-please/blob/main/docs/cli.md/

0 comments on commit 09ae5a2

Please sign in to comment.