Skip to content

Commit 29d9088

Browse files
committed
change our release process to bump the version in the main branch immediately after cutting a release branch so that new development is done against the new version
1 parent 4400ed9 commit 29d9088

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

vertical-pod-autoscaler/RELEASE.md

+7-8
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Before doing the release for the first time check if you have all the necessary
99
There are the following steps of the release process:
1010

1111
1. [ ] Open issue to track the release.
12-
2. [ ] Update VPA version const.
12+
2. [ ] Rollup all changes.
1313
3. [ ] Build and stage images.
1414
4. [ ] Test the release.
1515
5. [ ] Promote image.
@@ -20,7 +20,7 @@ There are the following steps of the release process:
2020
Open a new issue to track the release, use the [vpa_release](https://github.com/kubernetes/autoscaler/issues/new?&template=vpa_release.md) template.
2121
We use the issue to communicate what is state of the release.
2222

23-
## Update VPA version const
23+
## Rollup all changes
2424

2525
1. [ ] Wait for all VPA changes that will be in the release to merge.
2626
2. [ ] Wait for [the end to end tests](https://testgrid.k8s.io/sig-autoscaling-vpa) to run with all VPA changes
@@ -31,13 +31,12 @@ We use the issue to communicate what is state of the release.
3131

3232
### New minor release
3333

34-
1. [ ] Change the version in
35-
[common/version-go](https://github.com/kubernetes/autoscaler/blob/master/vertical-pod-autoscaler/common/version.go)
36-
to `1.${next-minor}.0`,
37-
2. [ ] Commit and merge the change,
38-
3. [ ] Go to the merged change,
39-
4. [ ] [Create a new branch](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository) named `vpa-release-1.${next-minor}` from the
34+
1. [ ] [Create a new branch](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository) named `vpa-release-1.${next-minor}` from the
4035
merged change.
36+
2. [ ] In the **main branch**, change the version in
37+
[common/version-go](https://github.com/kubernetes/autoscaler/blob/master/vertical-pod-autoscaler/common/version.go)
38+
to `1.${next-minor}.0`.
39+
3. [ ] Commit and merge the change.
4140

4241
### New patch release
4342

vertical-pod-autoscaler/common/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ package common
2121
var gitCommit = ""
2222

2323
// versionCore is the version of VPA.
24-
const versionCore = "1.3.0"
24+
const versionCore = "1.4.0"
2525

2626
// VerticalPodAutoscalerVersion returns the version of the VPA.
2727
func VerticalPodAutoscalerVersion() string {

0 commit comments

Comments
 (0)