Skip to content

Commit

Permalink
docs: Update release docs for versioned formula (argoproj#2245)
Browse files Browse the repository at this point in the history
Signed-off-by: zachaller <[email protected]>
Signed-off-by: Xijun Dai <[email protected]>
  • Loading branch information
zachaller authored and daixijun committed Sep 27, 2022
1 parent 45146d3 commit 399496b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,20 @@
```bash
cd homebrew-tap
./update.sh kubectl-argo-rollouts $VERSION
git commit -am "Update kubectl-argo-rollouts to $VERSION"
```
* 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:
```bash
./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.
```bash
./update.sh kubectl-argo-rollouts v1.3.2 @1.3
```
* Commit and push the changes to your fork
```bash
git commit -am "Update kubectl-argo-rollouts to $VERSION"
```
* Create a PR with the modified files pointing to upstream/master
* Once the PR is approved by a maintainer, it can be merged.

Expand Down

0 comments on commit 399496b

Please sign in to comment.