pact-foundation / pact-ruby-cli

Amalgamated Pact Ruby CLI
https://pact.io
MIT License
12 stars 15 forks source link

Chore/new tag format #112

Closed YOU54F closed 1 year ago

YOU54F commented 1 year ago

fixes #80

Screenshot 2023-05-19 at 17 09 32

Note: On 21 May 2023, the format of the docker tag changed from ending with the Pact Cli Gem version (0.51.0.4), where .4 noting a change to the one of the packaged gems, to ending with the Pact Cli gem version (0.52.0-pactcli0.52.0). Read about the new versioning scheme here.

Details for README

Versioning

The Docker image tag uses a semantic-like versioning scheme (Docker tags don't support the + symbol, so we cannot implement a strict semantic version). The format of the tag is M.m.p-pactcli<pact_cli_version> eg. 0.52.0-pactcli0.52.0. The M.m.p (eg. 0.52.0) is the semantic part of the tag number, while the -pactcli<pact_cli_version> suffix is purely informational.

The major version will be bumped for:

The minor version will be bumped for:

The patch version will be bumped for:

Until May 2023, the versioning scheme used the M.m.p from the Pact Cli gem, with an additional RELEASE number at the end (eg. 0.51.0.4). This scheme was replace by the current scheme because it was unable to semantically convey changes made to the Docker image that were unrelated to a Pact Cli gem version change (eg. alpine upgrades).