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]>
  • Loading branch information
zachaller authored and jenciso committed Oct 25, 2022
1 parent 0e6a817 commit ccda1f7
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 ccda1f7

Please sign in to comment.