From 69f194258e5b90cf9ac1e6187728d5fd406cf2fc Mon Sep 17 00:00:00 2001 From: pandemicsyn Date: Tue, 1 Apr 2025 11:35:16 -0500 Subject: [PATCH 1/2] Update readme fix typo --- README.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7cadc75cc..2d71985ef 100644 --- a/README.md +++ b/README.md @@ -159,11 +159,25 @@ The models are generated from the API's swagger spec. * ```REPLICATED_REGISTRY_ORIGIN``` may be set to overrride the registry endpoint ### Releases -Releases are created on Travis when a tag is pushed. This will also update the docs container. -``` -git tag -a v0.1.0 -m "First release" && git push upstream v0.1.0 + +Releases of the Replicated Vendor CLI are automated using [Dagger](https://dagger.io/) and [GoReleaser](https://goreleaser.com/). + +To create a new release: + +```bash +# Create a major, minor, or patch release: +make release version=major +make release version=minor +make release version=patch ``` +The release process: +1. Ensures you're on the `main` branch with a clean git tree +2. Updates the version in the codebase +3. Creates a git tag for the release +4. Builds and publishes binaries to GitHub Releases +5. Publishes Docker images to Docker Hub (as `replicated/vendor-cli`) + ### Regenerating Client Code When the swagger definitions change, you can regenerate the Client code from the swagger spec with From ed3e65bd7b87378abf7d4e9fa21cb8def719782c Mon Sep 17 00:00:00 2001 From: pandemicsyn Date: Tue, 1 Apr 2025 12:03:06 -0500 Subject: [PATCH 2/2] add docs blurb --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 2d71985ef..033f340a3 100644 --- a/README.md +++ b/README.md @@ -178,6 +178,14 @@ The release process: 4. Builds and publishes binaries to GitHub Releases 5. Publishes Docker images to Docker Hub (as `replicated/vendor-cli`) +Once the release is out, if there any changes to CLI commands or parameters, new docs have to be generated: + +```bash +make docs +``` + +This will create a PR in https://github.com/replicatedhq/replicated-docs, which then needs to be reviewed and merged. + ### Regenerating Client Code When the swagger definitions change, you can regenerate the Client code from the swagger spec with