Skip to content

A utility for release Google client libraries across a variety of languages.

License

Notifications You must be signed in to change notification settings

googleapis/releasetool

Repository files navigation

Releasetool (for client libraries)

This tool helps create releases for cloud client libraries.

Presently, this works for Python, Node.js, and Ruby. However, it's designed in such a way that it could easily be used for other languages.

Installation

This tool requires Python 3.6. Either install it from python.org or use pyenv to get 3.6.

Install using pip:

python3 -m pip install --upgrade gcp-releasetool

Usage

Packages are published in two phases. First, a PR is created to update CHANGELOG.md and the version number. Second, once the PR is merged the merge commit is tagged and CI publishes the package.

To start the process of releasing use releasetool start from the directory of the client you want to publish, for example:

git clone [email protected]:GoogleCloudPlatform/google-cloud-python.git
cd google-cloud-python
cd bigquery
releasetool start

Once the PR has been approved and merged, you can run releasetool tag from anywhere in the repository to tag the commit and start CI.

If you need to change the GitHub API token associated with releasetool, run releasetool reset-config. This will delete the existing token. The next time you run releasetool start you will be prompted to enter a new token.

About

A utility for release Google client libraries across a variety of languages.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published