Carson Long edited this page Apr 28, 2022
·
2 revisions
Brief
The goal of this guide is to help you create a new log-cache-cli public release. Please free to suggest changes based on your experience with this guide.
Release Cadence
Releases are currently published on a best-effort cadence.
Release Overview
Contributors with write access may cut releases as-needed to fix bugs, bump dependencies for stability, or introduce new features. The ultimate goal is to make a new version of the log-cache cf CLI plugin available for download from this repo or as a community plugin download.
💡 Each change is made from the main branch.
Process
Step 1
Check if the code is in a good state.
Go to the main branch and see that it passed the relevant Github Action workflows (ie. linting, testing), it should be represented as a green check next to the commit SHA.
Clone the repo and run any steps that you feel are required to ensure that the plugin is in a good state. Typically, this should involve building and installing the plugin, as well as testing it against a cf-d environment.
Step 2
Decide on a version number for the new release.
Take note of the version number of last release (ie. 4.0.3).
Review the changes made since the last release.
Decide whether this should be a major, minor, or patch release according to semantic versioning.
Figure out your new version by incrementing the version of the last release by a
major (ie. 4.0.3 -> 5.0.0),
minor (ie. 4.0.3 -> 4.1.0),
or patch (ie. 4.0.3 -> 4.0.4).
💡 Please visit the semver webpage if you aren't familiar with semantic versioning.
Step 3
Generate binaries for macOS, Linux, and Windows, and cut a draft release with them.
Locate your draft release at the top and hit the edit icon.
Edit the release notes for clarity.
Hit publish release 🎉 .
Step 4
Update the community plugin repo in order for users to be able to easily install your release (without having to download the binary from this repo) via cf install-plugin log-cache.
Follow the steps in the repo's README to create a PR updating the log-cache-cli version listed.