-
Notifications
You must be signed in to change notification settings - Fork 2k
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
chore: automate release workflow #2325
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rexagod The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
82f71d3
to
122cee8
Compare
To primarily avoid conflicts and allow for automations. Signed-off-by: Pranshu Srivastava <[email protected]>
Reflect patch release changes on main, which was not the case with 2.10.1 since that diverged and was never merged back into main (around backporting concerns). I believe in the future we can merge everything back into main to reflect the latest version changes in main, but diverge the release branches starting from the pre-merge commit to make sure backports are clean and maintainable (these will not be merged back into the default branch). Signed-off-by: Pranshu Srivastava <[email protected]>
464006f
to
ddd19fd
Compare
/assign @dgrisonnet |
e9eb62a
to
9923a5f
Compare
|
||
# Replace the first line of the CHANGELOG.md file with the expected metadata. | ||
# NOTE: This is done to ensure the latest release header is consistent, and will replace the manual placeholder. | ||
$SED -i "1s/.*/## v$latest_tag / $(date +'%Y-%m-%d')/" CHANGELOG.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also modified the PR template to reflect this change: https://github.com/kubernetes/kube-state-metrics/pull/2325/files#diff-18813c86948efc57e661623d7ba48ff94325c9b5421ec9177f724922dd553a35.
9923a5f
to
4cf543d
Compare
Signed-off-by: Pranshu Srivastava <[email protected]>
4cf543d
to
26e02a6
Compare
@@ -0,0 +1,53 @@ | |||
#!/bin/bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we do this a bit more programmatically instead of search and replacing values?
We could use a README.md.tmpl template file + a config and https://github.com/hairyhenderson/gomplate or a similar tool.
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Blocked by (and rebased on) #2316 and #2324. Please merge them first, preferably in that order.
Test run: rexagod#9.