Skip to content

Latest commit

 

History

History
72 lines (51 loc) · 1.84 KB

RELEASE.md

File metadata and controls

72 lines (51 loc) · 1.84 KB

Releasing

  1. Make sure you are logged into Docker Hub:

    docker login
  2. Make a PR with new changelog in CHANGELOG.md and new version in VERSION.

  3. Once approved and merged, export the upstream repository, version and branch name, e.g.:

    REPO=upstream ;# or origin 
    BRANCH=release-v0.8
    VERSION=$(cat VERSION)
  4. Create Release branch and update manifests with new version:

    git checkout -b $BRANCH
    make IMAGE_TAG=$VERSION manifests
    git commit -am "Update manifests to $VERSION"
    git push $REPO $BRANCH
  5. Create a Github releases pointing at the release branch with the following content:

    • Getting started (copy from previous release and new version)
    • Changelog
  6. Build and push release to Docker Hub

    git fetch --all
    git clean -fd
    make IMAGE_NAMESPACE=argoproj IMAGE_TAG=$VERSION DOCKER_PUSH=true release
  7. Upload ./dist/kubectl-argo-rollouts-{darwin/linux} binaries to the new Github release.

  8. Update stable tag:

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

    git clone [email protected]:argoproj/homebrew-tap.git
    cd homebrew-tap
    ./update.sh kubectl-argo-rollouts $VERSION
    git commit -am "Update kubectl-argo-rollouts to $VERSION"
    git push

Verify

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

    kubectl apply -n argo-rollouts -f https://raw.githubusercontent.com/argoproj/argo-rollouts/$VERSION/manifests/install.yaml
  2. Check the Kubectl Argo Rollout plugin:

    brew upgrade kubectl-argo-rollouts
    kubectl argo rollouts version