Skip to content

Releasing

  1. Tag a commit to release from using semantic versioning (e.g. v1.0.0-rc1)

  2. Visit the Release GitHub Action and enter the tag.

GitHub Release Action

  1. When the action completes, visit the generated draft Github releases and enter the details about the release:
  2. Getting started (copy from previous release and new version)
  3. Changelog

  4. Update stable tag:

    git tag stable --force && git push $REPO stable --force
    
  5. Update Brew formula:

  6. Fork the repo https://github.com/argoproj/homebrew-tap

  7. Run the following commands to update the brew formula:
    cd homebrew-tap
    ./update.sh kubectl-argo-rollouts $VERSION
    
  8. If there is a new minor version we want to update the versioned formula as well:
    • Run the following commands to update the versioned brew formula:
      ./update.sh kubectl-argo-rollouts $VERSION @<version_without_patch_and_v>
      
    • Example: If the new version is v1.3.2, we want to update the formula for v1.3 as well.
      ./update.sh kubectl-argo-rollouts v1.3.2 @1.3
      
  9. Commit and push the changes to your fork
    git commit -am "Update kubectl-argo-rollouts to $VERSION"
    
  10. Create a PR with the modified files pointing to upstream/master
  11. Once the PR is approved by a maintainer, it can be merged.

Verify

  1. Install locally using the command below and follow the Getting Started Guide:

    kubectl apply -n argo-rollouts -f https://github.com/argoproj/argo-rollouts/releases/download/${VERSION}/install.yaml
    
  2. Check the Kubectl Argo Rollout plugin:

    brew upgrade kubectl-argo-rollouts
    kubectl argo rollouts version