Skip to content

Bumping the software version

Fabian Kessler edited this page Aug 28, 2017 · 1 revision

This is internal information for the developer who prepares a new release of the nameapi php client library.

The services, such as PingService, contain an URL, update the version number for the latest API. Example: the v5.3 in http://api.nameapi.org/rest/v5.3/system/ping

The RestHttpClientConfig contains the "Swagger Spec Version" at the end of the file.

The functional tests, such as the PingServiceTest, contain the URL and API version, eg api.nameapi.org and 5.3.

The composer.json has the "version" value. For release candidates use eg "5.3.0-rc2" and then for the final version "5.3.0".

Commit and push the changes to Github.

Create a release (or preview release) with matching version number through the GitHub web interface.

On Packagist update the library manually (green button) https://packagist.org/packages/optimaize/nameapi-client-php because we don't have the GitHub push hook set up.

Clone this wiki locally