Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Adding local testing steps to contributing guide #1743

Merged
merged 3 commits into from Nov 10, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions CONTRIBUTING.md
Expand Up @@ -59,21 +59,21 @@ accept your pull requests.

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

For example, the CLI command:
The below command should be run from the root of the source code:

```
release-please release-pr \
node build/src/bin/release-please.js release-pr \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it's clear. Thank you.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build/src/bin/release-please.js? Not typescript?

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

can be run as from the root of the source code as:
It is equivalent to running the CLI command:

```
node build/src/bin/release-please.js release-pr \
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/
[CLI]: https://github.com/googleapis/release-please/blob/main/docs/cli.md/