Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update release docs for versioned formula #2245

Merged
merged 5 commits into from
Sep 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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