Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.02 KB

CONTRIBUTING.md

File metadata and controls

35 lines (21 loc) · 1.02 KB

Contributing

The content outlined in this page will detail how to contribute to the create-cli. It will include instructions on building, testing and releasing.

Building

To build the code base, run the following:

make build 

Testing

TODO

Releasing create-cli

In order to release the create-cli, simply create the correct release and tags via the release page. It is important that you also modify the cmd/version.go file to have the correct vesrion that you want to release. This isn't the best way of ensuring we set the correct versions for the cli but for now it will do.

Example: From:

fmt.Println("create-cli 1.0.0")

To:

fmt.Println("create-cli 1.0.1")

Once this has been committed to main alongside the changes associated with the new version, publish the new release and tag and the Github Actions workflow will ensure that the container is built and published to ghcr.io/Capgemini/create-cli:[VERSION], alongside the Binaries being attached to the Release Assets.